learn-co-curriculum / playlister-sinatra

Other
0 stars 387 forks source link

Flash Message section is wrong #52

Closed octosteve closed 8 years ago

octosteve commented 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