summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJose Ivan Vargas <jvargas@gitlab.com>2016-12-22 16:38:27 -0600
committerJose Ivan Vargas <jvargas@gitlab.com>2017-01-03 10:52:14 -0600
commit4cd139e948ad0de3516b6534146b51faffeca610 (patch)
tree70fba9a4eecc4cb50cdcd47e02558dab64e166a6 /config
parent365612ce3602858c51902e735d0daea6e1987ba8 (diff)
downloadgitlab-ce-4cd139e948ad0de3516b6534146b51faffeca610.tar.gz
Moved the members (project_members)option to a single controller called members
This controller is going to contain both the project members and groups options for the settings gear. Generated the route and modified the routing to point to the new members setting path
Diffstat (limited to 'config')
-rw-r--r--config/routes/project.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb
index 4d20acbef7a..26e2dc9e6e7 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -307,6 +307,10 @@ constraints(ProjectUrlConstrainer.new) do
end
end
+ namespace :settings do
+ resource :members, only: [:show]
+ end
+
# Since both wiki and repository routing contains wildcard characters
# its preferable to keep it below all other project routes
draw :wiki