Replace Hash#merge! with Hash#[]= (#34160).

git-svn-id: http://svn.redmine.org/redmine/trunk@20175 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2020-10-24 05:33:23 +00:00
parent 52cc3fdc24
commit b46953247d
12 changed files with 30 additions and 46 deletions

View File

@@ -666,7 +666,7 @@ class IssuesController < ApplicationController
if params[:project_id]
redirect_to new_project_issue_path(@issue.project, url_params)
else
url_params[:issue].merge! :project_id => @issue.project_id
url_params[:issue][:project_id] = @issue.project_id
redirect_to new_issue_path(url_params)
end
else