Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes/organizations.rb')
-rw-r--r--config/routes/organizations.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/config/routes/organizations.rb b/config/routes/organizations.rb
index 4a8c9c25363..6f44eeb0d82 100644
--- a/config/routes/organizations.rb
+++ b/config/routes/organizations.rb
@@ -1,6 +1,11 @@
# frozen_string_literal: true
-resources :organizations, only: [:show], param: :organization_path, controller: 'organizations/organizations' do
+resources(
+ :organizations,
+ only: [:show, :index, :new],
+ param: :organization_path,
+ controller: 'organizations/organizations'
+) do
member do
get :groups_and_projects
end