/ Published in: Ruby
Redirects from one method to another in a controller. This is handy when there's an error, and you need to go back to index page, or for other purposes.
Expand |
Embed | Plain Text
redirect_to :action => :index
You need to login to post a comment.
