From 8ee394e97ab081117d4205c59e9faff8508deeb2 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 26 Nov 2019 06:30:42 +0000 Subject: [PATCH] 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 --- app/controllers/issues_controller.rb | 6 +++--- 1 file 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 -- 2.39.5