Forum: Ruby on Rails Redirecting after adding new object

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Arch S. (Guest)
on 2006-04-04 08:46
The default behavior after completing the action "new" is to take the
user back to the object "list" view.

Given:

Question (has many answers)
Answer (belongs to question)


After creating a new Answer I want to the page directed back to the show
view of the Question object to which this new Answer belongs.  How do I
do that?

Thanks?
This topic is locked and can not be replied to.