diff options
author | masarakki <masaki182@gmail.com> | 2017-06-19 22:12:31 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-06-19 15:12:31 +0200 |
commit | ff142eb64d2d1251f9df1baa0b302fd532ec30ed (patch) | |
tree | 66c9e30ddef330ae32d3b0adb75983bf38bc0a4b /app/helpers | |
parent | 500e28442f8e6657de766fbdb4a4cfdb164b2b92 (diff) |
setting-for-account-deletable (#3852)
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/application_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 42f6ab3db..36c37fae0 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -13,6 +13,10 @@ module ApplicationHelper Setting.open_registrations end + def open_deletion? + Setting.open_deletion + end + def add_rtl_body_class(other_classes) other_classes = "#{other_classes} rtl" if [:ar, :fa, :he].include?(I18n.locale) other_classes |