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
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
......
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