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/group.rb')
-rw-r--r--config/routes/group.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/config/routes/group.rb b/config/routes/group.rb
index 9a50d580747..da205163e6d 100644
--- a/config/routes/group.rb
+++ b/config/routes/group.rb
@@ -126,11 +126,9 @@ constraints(::Constraints::GroupUrlConstrainer.new) do
end
end
- resources :crm, only: [] do
- collection do
- get 'contacts'
- get 'organizations'
- end
+ namespace :crm do
+ resources :contacts, only: [:index, :new, :edit]
+ resources :organizations, only: [:index, :new]
end
end