Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-09 01:26:43 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-09 01:26:43 +0300
commit08c9cb4cabab648d90e6fcf055f1143fbbc994e8 (patch)
treecf02a2ba1eb4fe1c011ef2c2b37e884c13efa900 /app/helpers/application_settings_helper.rb
parent939c046a9872c1d7c38d73dc08860681ecebd1f1 (diff)
Finally fix stuff related to dynamic config
Diffstat (limited to 'app/helpers/application_settings_helper.rb')
-rw-r--r--app/helpers/application_settings_helper.rb8
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