I will start by example.
Example:
There is a form with /profile/edit, and it gets /users after clicking submit in web browser.
What I want, is to make that, when someone clicks submit for form, it gets exactly the same URL, as it was (/profile/edit for the example).
How that can be done nicely?
P.S. By the way. Is it possible to use localization for Rails’ routes (by example again: from this -> /profile/edit, to -> /profil/modifier)?
redirect_to :backorredirect_to :action => :edit