Home>

I want to jump to the show action of the Users controller when there is an error in the create action of the Messages controller in development with rails, but I don't know how to write it.

render template: "controller name/action name"


I knew that I could jump to the action of another controller by writing, but if it is a show action, I don't know how to jump to the show screen of a specific user.
Thanks for your cooperation.