Revert "Enable RTL direction in emails."

This commit is contained in:
Robin Ward
2014-08-06 15:30:07 -04:00
parent 417d287813
commit 6783565d8f
5 changed files with 18 additions and 27 deletions

View File

@@ -198,7 +198,7 @@ class UserNotifications < ActionMailer::Base
html = UserNotificationRenderer.new(Rails.configuration.paths["app/views"]).render(
template: 'email/notification',
format: :html,
locals: { context_posts: context_posts, post: post, top: top ? PrettyText.cook(top).html_safe : nil, classes: RTL.html_class }
locals: { context_posts: context_posts, post: post, top: top ? PrettyText.cook(top).html_safe : nil }
)
template = "user_notifications.user_#{notification_type}"