0
0
Fork 0

Add an RTL stylesheet for Arabic i18n (#2378)

This commit is contained in:
Eugen 2017-04-24 18:03:53 +02:00 committed by GitHub
parent b073b092c9
commit e59f5c8e13
4 changed files with 136 additions and 1 deletions

View file

@ -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