diff options
author | Azul <azul@leap.se> | 2012-12-07 12:48:04 +0100 |
---|---|---|
committer | Azul <azul@leap.se> | 2012-12-07 12:48:04 +0100 |
commit | 4aff08fe9696d2f6b92f8a8c2bbb2f96a26277e7 (patch) | |
tree | 73c4ed1edf3a1be8462f7e6a81475ae4b56616ef /users/app/helpers | |
parent | a2d343619e752f62cb7e3445803e4491696af391 (diff) |
refactor: use seperate form for signup
creating and editing users differ so much now it's not worth reusing the complex user_form_with for the signup.
Diffstat (limited to 'users/app/helpers')
-rw-r--r-- | users/app/helpers/users_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/users/app/helpers/users_helper.rb b/users/app/helpers/users_helper.rb index 5d9eff7..b017bca 100644 --- a/users/app/helpers/users_helper.rb +++ b/users/app/helpers/users_helper.rb @@ -9,7 +9,7 @@ module UsersHelper end end - def user_form(options) + def user_form(options = {}) simple_form_for @user, :html => user_form_html_options(options), :validate => true do |f| |