Ruby on Rails Friday, February 14, 2020

Is your form set to the default of an Ajax submission, or did you add the configuration flag to the form_with method call that makes it actually redirect? If this was a redirect, the header would be 301, not 200. 

Walter

On Feb 14, 2020, at 9:59 AM, fugee ohu <fugee279@gmail.com> wrote:


This is a redirect from my log, but page doesn't change I'm still on the same page containing the form I submitted

127.0.0.1 - - [14/Feb/2020:11:55:46 EST] "GET /artists/72/press_releases HTTP/1.1" 200 2542
http://localhost:3000/artists/72/tours/1 -> /artists/72/press_releases

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/be527a35-e686-4968-8849-ca05ecfc2491%40googlegroups.com.

No comments:

Post a Comment