diff options
author | Marin Jankovski <maxlazio@gmail.com> | 2015-02-26 16:03:42 -0800 |
---|---|---|
committer | Marin Jankovski <maxlazio@gmail.com> | 2015-02-26 16:03:42 -0800 |
commit | 62a81494ba22a33e5c798d9ce169a64239166f34 (patch) | |
tree | e0ab7c35690f079bff9375f04118ba41c741883b | |
parent | 5bf492fe1ff116d07d3514cde12510092e140f85 (diff) | |
download | gitlab-ce-62a81494ba22a33e5c798d9ce169a64239166f34.tar.gz |
Update project_milestone_path update route.
-rw-r--r-- | app/controllers/projects/milestones_controller.rb | 3 |
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 |