diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-14 13:19:04 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-14 13:19:04 +0000 |
commit | 6bc4440eab7873b2a461763f294ced8aa0ec56a5 (patch) | |
tree | 07708e36379f44c86521b273aa78b103551e8d98 | |
parent | 0e79d0d68840dd2e4b5d316c3cf2ab0b3c752007 (diff) | |
download | redmine-6bc4440eab7873b2a461763f294ced8aa0ec56a5.tar.gz redmine-6bc4440eab7873b2a461763f294ced8aa0ec56a5.zip |
remove spaces inside {} of MessagesController
git-svn-id: http://svn.redmine.org/redmine/trunk@20374 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/controllers/messages_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/messages_controller.rb b/app/controllers/messages_controller.rb index 45c5b3156..9aa5541be 100644 --- a/app/controllers/messages_controller.rb +++ b/app/controllers/messages_controller.rb @@ -63,7 +63,7 @@ class MessagesController < ApplicationController if request.post? @message.save_attachments(params[:attachments]) if @message.save - call_hook(:controller_messages_new_after_save, { :params => params, :message => @message}) + call_hook(:controller_messages_new_after_save, {:params => params, :message => @message}) render_attachment_warning_if_needed(@message) flash[:notice] = l(:notice_successful_create) redirect_to board_message_path(@board, @message) @@ -80,7 +80,7 @@ class MessagesController < ApplicationController @reply.save_attachments(params[:attachments]) @topic.children << @reply if !@reply.new_record? - call_hook(:controller_messages_reply_after_save, { :params => params, :message => @reply}) + call_hook(:controller_messages_reply_after_save, {:params => params, :message => @reply}) render_attachment_warning_if_needed(@reply) end flash[:notice] = l(:notice_successful_update) |