Merge remote-tracking branch 'origin/master' into merge-upstream

Conflicts:
	app/views/layouts/mailer.html.haml
	config/locales/ko.yml
This commit is contained in:
David Yip
2018-01-28 22:45:17 -06:00
69 changed files with 2582 additions and 862 deletions
+9 -1
View File
@@ -22,10 +22,18 @@ module ApplicationHelper
end
def add_rtl_body_class(other_classes)
other_classes = "#{other_classes} rtl" if [:ar, :fa, :he].include?(I18n.locale)
other_classes = "#{other_classes} rtl" if locale_direction == 'rtl'
other_classes
end
def locale_direction
if [:ar, :fa, :he].include?(I18n.locale)
'rtl'
else
'ltr'
end
end
def favicon_path
env_suffix = Rails.env.production? ? '' : '-dev'
"/favicon#{env_suffix}.ico"