remove trailing whitespaces ❤️

This commit is contained in:
Gosha Arinich
2013-02-25 19:42:20 +03:00
parent b50e0536c7
commit cafc75b238
383 changed files with 4220 additions and 2221 deletions

View File

@ -9,10 +9,10 @@ class SystemMessage
end
def initialize(recipient)
@recipient = recipient
@recipient = recipient
end
def create(type, params = {})
def create(type, params = {})
defaults = {site_name: SiteSetting.title,
username: @recipient.username,
@ -26,7 +26,7 @@ class SystemMessage
if SiteSetting.restrict_access?
params[:site_password] = MultisiteI18n.t('system_messages.site_password', access_password: SiteSetting.access_password)
end
title = MultisiteI18n.t("system_messages.#{type}.subject_template", params)
raw_body = MultisiteI18n.t("system_messages.#{type}.text_body_template", params)