Closed octosteve closed 8 years ago
https://github.com/learn-co-curriculum/playlister-sinatra/blob/master/README.md#flash-message
Post requests should redirect to the 'songs/:id', not render the page. This is not the way to do flash messages and breaks when they try to do patch 'songs/:id'. Instructions for using Rack-Flash should be included instead.
https://github.com/nakajima/rack-flash
@pletcher
https://github.com/learn-co-curriculum/playlister-sinatra/blob/master/README.md#flash-message
Post requests should redirect to the 'songs/:id', not render the page. This is not the way to do flash messages and breaks when they try to do patch 'songs/:id'. Instructions for using Rack-Flash should be included instead.
https://github.com/nakajima/rack-flash
@pletcher