summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2018-05-24 16:58:48 +0200
committerToon Claes <toon@gitlab.com>2018-05-29 11:45:17 +0200
commit607225923008d62a3fa9fafb1a33205d28456d5f (patch)
tree633e349e366ef53b6f5586873c4d5224b795a0a3 /config
parentc5adf04cd69035a7a1737df8c2303bc228ea4089 (diff)
downloadgitlab-ce-607225923008d62a3fa9fafb1a33205d28456d5f.tar.gz
Add `shared_projects` endpoint
This endpoint lists projects shared with a group visible to the current user. The `filter` and `sort` params are supported like on the `children` endpoint.
Diffstat (limited to 'config')
-rw-r--r--config/routes/group.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes/group.rb b/config/routes/group.rb
index 7c4c3d370e0..fff0914c3cd 100644
--- a/config/routes/group.rb
+++ b/config/routes/group.rb
@@ -30,6 +30,7 @@ constraints(::Constraints::GroupUrlConstrainer.new) do
resource :variables, only: [:show, :update]
resources :children, only: [:index]
+ resources :shared_projects, only: [:index]
resources :labels, except: [:show] do
post :toggle_subscription, on: :member