remove the notification_email_top customization

This commit is contained in:
Neil Lalonde
2014-10-06 17:00:20 -04:00
parent ad387a1150
commit 96e4d2b662
4 changed files with 0 additions and 12 deletions

View File

@@ -233,14 +233,11 @@ class UserNotifications < ActionMailer::Base
end
end
top = SiteText.text_for(:notification_email_top)
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.new(user).css_class
}
)