Ruby on Rails Saturday, December 6, 2014

On Dec 6, 2014, at 2:45 PM, Dave Castellano <lists@ruby-forum.com> wrote:
>
> When I try to redirect an action to update, it actually goes to the show
> method and I can not figure out how to redirect to the update action.

Redirecting to a post simply makes no sense. I suspect maybe you're confusing the action that displays an edit form with the action that's run when the form is submitted? That what you really want to do is redirect to edit?

--
Scott Ribe
scott_ribe@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice




--
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 post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/D71CB0B2-BC10-4FF7-B312-379A45DE46F7%40elevated-dev.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment