Redirect from One Method to Another

/ Published in: Ruby
Save to your folder(s)

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.

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.