This commit is contained in:
Philipp Rothmann 2023-02-09 18:35:17 +01:00
parent 8349de919b
commit e57d481274

View file

@ -22,11 +22,9 @@ class MessagesController < ApplicationController
@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" \
+ "<blockquote>" + original_message.body.to_trix_html + "</blockquote>"
# .each_line { |l| @message.body += I18n.t('messages.model.reply_indent', :line => l) }
else
redirect_to new_message_url, alert: I18n.t('messages.new.error_private')
end
end
end
end