Saturday, October 29, 2011

[Rails] Redirect to previous page

In controller, you can specify redirection to go back to previous page that call to this controller by using code below:
redirecto_to :back  
Note: Rails 3.1

No comments:

[PostgreSQL] How to create read-only standby replica (follower)

This link  and this link explain it really well and concise