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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
eebd74d6
Commit
eebd74d6
authored
May 20, 2019
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move some project routes under /-/ scope
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
f1456594
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
changelogs/unreleased/dz-scope-project-routes.yml
changelogs/unreleased/dz-scope-project-routes.yml
+5
-0
config/routes/repository.rb
config/routes/repository.rb
+1
-1
No files found.
changelogs/unreleased/dz-scope-project-routes.yml
0 → 100644
View file @
eebd74d6
---
title
:
Move some project routes under /-/ scope
merge_request
:
28435
author
:
type
:
changed
config/routes/repository.rb
View file @
eebd74d6
...
@@ -39,7 +39,7 @@ scope format: false do
...
@@ -39,7 +39,7 @@ scope format: false do
end
end
end
end
scope
constraints:
{
id:
Gitlab
::
PathRegex
.
git_reference_regex
}
do
scope
path:
'-'
,
constraints:
{
id:
Gitlab
::
PathRegex
.
git_reference_regex
}
do
resources
:network
,
only:
[
:show
]
resources
:network
,
only:
[
:show
]
resources
:graphs
,
only:
[
:show
]
do
resources
:graphs
,
only:
[
:show
]
do
...
...
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