summaryrefslogtreecommitdiff
path: root/app/controllers/projects/issues_controller.rb
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-03-20 09:28:06 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-03-20 09:28:06 +0100
commitf0211a4ea9e14293e2aea6f93798f23a01287bed (patch)
treef32c2e5188f8eddc182f7aac866f78314189b8dd /app/controllers/projects/issues_controller.rb
parenta2f25ed60b81f8c0325a7d1e33898351afa1d60f (diff)
downloadgitlab-ce-f0211a4ea9e14293e2aea6f93798f23a01287bed.tar.gz
Do not pass params that are not used in issue move service
Diffstat (limited to 'app/controllers/projects/issues_controller.rb')
-rw-r--r--app/controllers/projects/issues_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/issues_controller.rb b/app/controllers/projects/issues_controller.rb
index aa73c6df545..a51916720eb 100644
--- a/app/controllers/projects/issues_controller.rb
+++ b/app/controllers/projects/issues_controller.rb
@@ -92,7 +92,7 @@ class Projects::IssuesController < Projects::ApplicationController
if params[:move_to_project_id].to_i > 0
new_project = Project.find(params[:move_to_project_id])
- move_service = Issues::MoveService.new(project, current_user, issue_params)
+ move_service = Issues::MoveService.new(project, current_user)
@issue = move_service.execute(@issue, new_project)
end