summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Jankovski <maxlazio@gmail.com>2015-02-26 16:03:42 -0800
committerMarin Jankovski <maxlazio@gmail.com>2015-02-26 16:03:42 -0800
commit62a81494ba22a33e5c798d9ce169a64239166f34 (patch)
treee0ab7c35690f079bff9375f04118ba41c741883b
parent5bf492fe1ff116d07d3514cde12510092e140f85 (diff)
downloadgitlab-ce-62a81494ba22a33e5c798d9ce169a64239166f34.tar.gz
Update project_milestone_path update route.
-rw-r--r--app/controllers/projects/milestones_controller.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/projects/milestones_controller.rb b/app/controllers/projects/milestones_controller.rb
index 97eaabb15c3..afdb560e73c 100644
--- a/app/controllers/projects/milestones_controller.rb
+++ b/app/controllers/projects/milestones_controller.rb
@@ -54,7 +54,8 @@ class Projects::MilestonesController < Projects::ApplicationController
format.js
format.html do
if @milestone.valid?
- redirect_to [@project, @milestone]
+ redirect_to namespace_project_milestone_path(@project.namespace,
+ @project, @milestone)
else
render :edit
end