diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-08 20:53:35 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-08 20:53:35 +0300 |
commit | 57a65ede77b7bbae6e3b2a7aa52135de7b0c2f8e (patch) | |
tree | 3f1d72a04c3deefb8a911d013e686b036541af60 /app/helpers/application_settings_helper.rb | |
parent | 8589b4e137f50293952923bb07e2814257d7784d (diff) |
Improve application settings and write tests
Diffstat (limited to 'app/helpers/application_settings_helper.rb')
-rw-r--r-- | app/helpers/application_settings_helper.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/helpers/application_settings_helper.rb b/app/helpers/application_settings_helper.rb index bb39a3cf4f0..16db33efd33 100644 --- a/app/helpers/application_settings_helper.rb +++ b/app/helpers/application_settings_helper.rb @@ -1,2 +1,13 @@ module ApplicationSettingsHelper + def signup_enabled? + current_application_settings.signup_enabled + end + + def signin_enabled? + current_application_settings.signin_enabled + end + + def extra_sign_in_text + current_application_settings.sign_in_text + end end |