Redirecting after adding new object

The default behavior after completing the action “new” is to take the
user back to the object “list” view.


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?


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs