diff options
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/application_helper.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index fad4ab068..e2ea94856 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -8,4 +8,9 @@ module ApplicationHelper def show_landing_strip? !user_signed_in? && !single_user_mode? end + + def add_rtl_body_class(other_classes) + other_classes = "#{other_classes} rtl" if [:ar].include?(I18n.locale) + other_classes + end end |