Merge branch 'update_update_project_milestone_path' into 'master'

Update project_milestone_path update route.

See merge request !1605
This commit is contained in:
Dmitriy Zaporozhets 2015-02-27 17:41:04 +00:00
commit ada7d0f393
1 changed files with 2 additions and 1 deletions

View File

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