diff options
Diffstat (limited to 'config/routes/group.rb')
-rw-r--r-- | config/routes/group.rb | 8 |
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 |