setting-for-account-deletable (#3852)
This commit is contained in:
parent
500e28442f
commit
ff142eb64d
5 changed files with 28 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue