config/routes.rb in ecm_rbac_backend-1.0.0 vs config/routes.rb in ecm_rbac_backend-1.1.0
- old
+ new
@@ -1,12 +1,9 @@
Ecm::Rbac::Backend::Engine.routes.draw do
resources :permissions
resources :roles
resources :users, except: [:create, :new, :destroy]
- resources :import_default_permissions_service, only: [:index] do
- get :invoke, on: :collection
- post :call, on: :collection
- end
+ resources :import_default_permissions_service, only: [:index, :new, :create]
root to: 'home#index'
end