cleanup
This commit is contained in:
parent
8349de919b
commit
e57d481274
1 changed files with 1 additions and 3 deletions
|
@ -22,8 +22,6 @@ class MessagesController < ApplicationController
|
||||||
@message.subject = I18n.t('messages.model.reply_subject', :subject => original_message.subject)
|
@message.subject = I18n.t('messages.model.reply_subject', :subject => original_message.subject)
|
||||||
@message.body = I18n.t('messages.model.reply_header', :user => original_message.sender.display, :when => I18n.l(original_message.created_at, :format => :short)) + "\n" \
|
@message.body = I18n.t('messages.model.reply_header', :user => original_message.sender.display, :when => I18n.l(original_message.created_at, :format => :short)) + "\n" \
|
||||||
+ "<blockquote>" + original_message.body.to_trix_html + "</blockquote>"
|
+ "<blockquote>" + original_message.body.to_trix_html + "</blockquote>"
|
||||||
|
|
||||||
# .each_line { |l| @message.body += I18n.t('messages.model.reply_indent', :line => l) }
|
|
||||||
else
|
else
|
||||||
redirect_to new_message_url, alert: I18n.t('messages.new.error_private')
|
redirect_to new_message_url, alert: I18n.t('messages.new.error_private')
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue