diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-08 13:21:00 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-08 13:21:00 -0800 |
commit | 939c046a9872c1d7c38d73dc08860681ecebd1f1 (patch) | |
tree | 084daaaf574146379744ca61550752bceffa6578 /app | |
parent | d0a50985ec613584821806062df4eaa39337449c (diff) | |
download | gitlab-ce-939c046a9872c1d7c38d73dc08860681ecebd1f1.tar.gz |
Fix feature and tests
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/registrations_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/registrations_controller.rb b/app/controllers/registrations_controller.rb index 981dc2d8023..52db44bf822 100644 --- a/app/controllers/registrations_controller.rb +++ b/app/controllers/registrations_controller.rb @@ -26,7 +26,7 @@ class RegistrationsController < Devise::RegistrationsController private def signup_enabled? - if current_application_settings.signup_enabled? + unless current_application_settings.signup_enabled? redirect_to(new_user_session_path) end end |