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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
94e4d75d
Commit
94e4d75d
authored
Jul 18, 2019
by
Luke Duncalfe
Committed by
Kushal Pandya
Aug 01, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor designs route
parent
d9e748d0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
7 deletions
+4
-7
config/routes/project.rb
config/routes/project.rb
+4
-0
ee/config/routes/project.rb
ee/config/routes/project.rb
+0
-7
No files found.
config/routes/project.rb
View file @
94e4d75d
...
...
@@ -500,6 +500,10 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
get
:realtime_changes
post
:create_merge_request
get
:discussions
,
format: :json
Gitlab
.
ee
do
get
'designs(/*vueroute)'
,
to:
'issues#show'
,
format:
false
end
end
collection
do
...
...
ee/config/routes/project.rb
View file @
94e4d75d
...
...
@@ -72,13 +72,6 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
end
end
resources
:issues
,
only:
[],
constraints:
{
id:
/\d+/
}
do
member
do
get
:designs
,
action:
'show'
get
'designs/*vueroute'
,
action:
'show'
,
format:
false
end
end
resource
:insights
,
only:
[
:show
]
do
collection
do
post
:query
...
...
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