summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-22 16:49:53 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-22 16:49:53 +0000
commite82fcb3fc585599c821ac6fde6e1ac3dedcce296 (patch)
tree19294d55167982d4bf9f81beed4463fa77022803 /app
parentf50d50f7b87828b425488ec5ef28c3c34e4e8172 (diff)
downloadredmine-e82fcb3fc585599c821ac6fde6e1ac3dedcce296.tar.gz
redmine-e82fcb3fc585599c821ac6fde6e1ac3dedcce296.zip
cleanup: rubocop: fix Layout/SpaceAfterComma in app/controllers/issues_controller.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19177 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/controllers/issues_controller.rb10
1 files changed, 7 insertions, 3 deletions
diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb
index a3ca3bc6a..855adb217 100644
--- a/app/controllers/issues_controller.rb
+++ b/app/controllers/issues_controller.rb
@@ -298,7 +298,7 @@ class IssuesController < ApplicationController
end
end
end
- @values_by_custom_field.delete_if {|k,v| v.blank?}
+ @values_by_custom_field.delete_if {|k, v| v.blank?}
@custom_fields =
edited_issues.map{|i| i.editable_custom_fields}.
reduce(:&).select {|field| field.format.bulk_edit_supported}
@@ -495,7 +495,7 @@ class IssuesController < ApplicationController
:next_issue_id => params[:next_issue_id],
:issue_position => params[:issue_position],
:issue_count => params[:issue_count]
- }.reject {|k,v| k.blank?}
+ }.reject {|k, v| k.blank?}
end
# Used by #edit and #update to set some common instance variables
@@ -646,7 +646,11 @@ class IssuesController < ApplicationController
def redirect_after_create
if params[:continue]
url_params = {}
- url_params[:issue] = {:tracker_id => @issue.tracker, :parent_issue_id => @issue.parent_issue_id}.reject {|k,v| v.nil?}
+ url_params[:issue] =
+ {
+ :tracker_id => @issue.tracker,
+ :parent_issue_id => @issue.parent_issue_id
+ }.reject {|k, v| v.nil?}
url_params[:back_url] = params[:back_url].presence
if params[:project_id]