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
53e98ffd
Commit
53e98ffd
authored
Oct 24, 2017
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CE->EE] Resolve group routes
parent
40f16c4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
33 deletions
+0
-33
config/routes/group.rb
config/routes/group.rb
+0
-33
No files found.
config/routes/group.rb
View file @
53e98ffd
...
...
@@ -13,10 +13,7 @@ constraints(GroupUrlConstrainer.new) do
get
:merge_requests
,
as: :merge_requests_group
get
:projects
,
as: :projects_group
get
:activity
,
as: :activity_group
<<<<<<<
HEAD
get
:subgroups
,
as: :subgroups_group
=======
>>>>>>>
82446
a2bd009e7d7481c35a142063a3973be77ce
get
'/'
,
action: :show
,
as: :group_canonical
end
...
...
@@ -24,7 +21,6 @@ constraints(GroupUrlConstrainer.new) do
module: :groups
,
as: :group
,
constraints:
{
group_id:
Gitlab
::
PathRegex
.
full_namespace_route_regex
})
do
<<<<<<<
HEAD
## EE-specific
resource
:analytics
,
only:
[
:show
]
...
...
@@ -89,35 +85,6 @@ constraints(GroupUrlConstrainer.new) do
## EE-specific
get
:boards
,
to:
redirect
(
'/groups/%{group_id}/-/boards'
)
=======
resources
:group_members
,
only:
[
:index
,
:create
,
:update
,
:destroy
],
concerns: :access_requestable
do
post
:resend_invite
,
on: :member
delete
:leave
,
on: :collection
end
resource
:avatar
,
only:
[
:destroy
]
resources
:milestones
,
constraints:
{
id:
/[^\/]+/
},
only:
[
:index
,
:show
,
:edit
,
:update
,
:new
,
:create
]
do
member
do
get
:merge_requests
get
:participants
get
:labels
end
end
resources
:labels
,
except:
[
:show
]
do
post
:toggle_subscription
,
on: :member
end
scope
path:
'-'
do
namespace
:settings
do
resource
:ci_cd
,
only:
[
:show
],
controller:
'ci_cd'
end
resources
:variables
,
only:
[
:index
,
:show
,
:update
,
:create
,
:destroy
]
resources
:children
,
only:
[
:index
]
end
>>>>>>>
82446
a2bd009e7d7481c35a142063a3973be77ce
end
scope
(
path:
'*id'
,
...
...
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