diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-26 06:30:42 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-26 06:30:42 +0000 |
commit | 8ee394e97ab081117d4205c59e9faff8508deeb2 (patch) | |
tree | 1d02aed3dc0708c871efd33a2337c5d0611c1577 /app | |
parent | e8b75e47f83229c0be03da76387901d98af1c1b1 (diff) | |
download | redmine-8ee394e97ab081117d4205c59e9faff8508deeb2.tar.gz redmine-8ee394e97ab081117d4205c59e9faff8508deeb2.zip |
cleanup: rubocop: fix Layout/SpaceInsideHashLiteralBraces in app/controllers/issues_controller.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19317 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/issues_controller.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb index 3abf3b988..e26bb2a88 100644 --- a/app/controllers/issues_controller.rb +++ b/app/controllers/issues_controller.rb @@ -138,10 +138,10 @@ class IssuesController < ApplicationController raise ::Unauthorized end - call_hook(:controller_issues_new_before_save, { :params => params, :issue => @issue }) + call_hook(:controller_issues_new_before_save, {:params => params, :issue => @issue}) @issue.save_attachments(params[:attachments] || (params[:issue] && params[:issue][:uploads])) if @issue.save - call_hook(:controller_issues_new_after_save, { :params => params, :issue => @issue}) + call_hook(:controller_issues_new_after_save, {:params => params, :issue => @issue}) respond_to do |format| format.html { render_attachment_warning_if_needed(@issue) @@ -377,7 +377,7 @@ class IssuesController < ApplicationController end journal = issue.init_journal(User.current, params[:notes]) issue.safe_attributes = attributes - call_hook(:controller_issues_bulk_edit_before_save, { :params => params, :issue => issue }) + call_hook(:controller_issues_bulk_edit_before_save, {:params => params, :issue => issue}) if issue.save saved_issues << issue else |