summaryrefslogtreecommitdiff
path: root/app/controllers/registrations_controller.rb
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-09-26 00:07:40 +0200
committerCiro Santilli <ciro.santilli@gmail.com>2014-10-03 09:18:46 +0200
commit2e9f5de86896e53e9cf34aef52bbc2ad08019a21 (patch)
tree48c469b4e8a9f4596f978a2602e4d3b5cfbece86 /app/controllers/registrations_controller.rb
parenta3d90c5045ae322a013484165cdebcd764dc5d69 (diff)
downloadgitlab-ce-2e9f5de86896e53e9cf34aef52bbc2ad08019a21.tar.gz
Add parenthesis to function def with arguments.
Diffstat (limited to 'app/controllers/registrations_controller.rb')
-rw-r--r--app/controllers/registrations_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/registrations_controller.rb b/app/controllers/registrations_controller.rb
index 9e70978992f..6d3214b70a8 100644
--- a/app/controllers/registrations_controller.rb
+++ b/app/controllers/registrations_controller.rb
@@ -15,11 +15,11 @@ class RegistrationsController < Devise::RegistrationsController
super
end
- def after_sign_up_path_for resource
+ def after_sign_up_path_for(resource)
new_user_session_path
end
- def after_inactive_sign_up_path_for resource
+ def after_inactive_sign_up_path_for(resource)
new_user_session_path
end