mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-24 09:21:12 +00:00
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
This commit is contained in:
parent
f50d50f7b8
commit
e82fcb3fc5
@ -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]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user