I want to have a form_for @user, but post to a custom action in the users controller.
form_for @user
How can I do this?
form_for @user, :url => url_for(:controller => 'mycontroller', :action => 'myaction')
or
form_for @user, :url => whatever_path
1.4m articles
1.4m replys
5 comments
57.0k users