Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
62a81494
Commit
62a81494
authored
Feb 26, 2015
by
Marin Jankovski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update project_milestone_path update route.
parent
5bf492fe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
app/controllers/projects/milestones_controller.rb
app/controllers/projects/milestones_controller.rb
+2
-1
No files found.
app/controllers/projects/milestones_controller.rb
View file @
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment