Commit 62a81494 authored by Marin Jankovski's avatar Marin Jankovski

Update project_milestone_path update route.

parent 5bf492fe
...@@ -54,7 +54,8 @@ class Projects::MilestonesController < Projects::ApplicationController ...@@ -54,7 +54,8 @@ class Projects::MilestonesController < Projects::ApplicationController
format.js format.js
format.html do format.html do
if @milestone.valid? if @milestone.valid?
redirect_to [@project, @milestone] redirect_to namespace_project_milestone_path(@project.namespace,
@project, @milestone)
else else
render :edit render :edit
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment