diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-08 14:26:43 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-08 14:26:43 -0800 |
commit | 08c9cb4cabab648d90e6fcf055f1143fbbc994e8 (patch) | |
tree | cf02a2ba1eb4fe1c011ef2c2b37e884c13efa900 /app/helpers/application_settings_helper.rb | |
parent | 939c046a9872c1d7c38d73dc08860681ecebd1f1 (diff) | |
download | gitlab-ce-08c9cb4cabab648d90e6fcf055f1143fbbc994e8.tar.gz |
Finally fix stuff related to dynamic config
Diffstat (limited to 'app/helpers/application_settings_helper.rb')
-rw-r--r-- | app/helpers/application_settings_helper.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/app/helpers/application_settings_helper.rb b/app/helpers/application_settings_helper.rb index 16db33efd33..04299316102 100644 --- a/app/helpers/application_settings_helper.rb +++ b/app/helpers/application_settings_helper.rb @@ -1,10 +1,14 @@ module ApplicationSettingsHelper + def gravatar_enabled? + current_application_settings.gravatar_enabled? + end + def signup_enabled? - current_application_settings.signup_enabled + current_application_settings.signup_enabled? end def signin_enabled? - current_application_settings.signin_enabled + current_application_settings.signin_enabled? end def extra_sign_in_text |