mirror of
https://github.com/redmine/redmine.git
synced 2026-05-07 02:17:43 +02:00
Fix RuboCop offense Style/CollectionCompact (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22921 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -700,11 +700,10 @@ 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
|
||||
}.compact
|
||||
url_params[:back_url] = params[:back_url].presence
|
||||
|
||||
if params[:project_id]
|
||||
|
||||
Reference in New Issue
Block a user