Commit ada7d0f3 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'update_update_project_milestone_path' into 'master'

Update project_milestone_path update route.

See merge request !1605
parents 14d8e2b0 62a81494
...@@ -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