On 5 March 2010 20:33, Neil Bye <[email protected]> wrote: > I have a 'new' page with a submit for creating stories. On the 'show' > page the submit allows a user to enter comments. I now want a 'edit' > page for the stories with another submit for updates. I have used the > 'create' and 'update' methods in the stories_controller on the 'new' and > 'show' pages. What method can I use for the submit on the 'edit' page?
Use update again. There is no problem calling the same action from two views. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

