config/routes.rb in effective_roles-1.4.4 vs config/routes.rb in effective_roles-1.5.0
- old
+ new
@@ -1,9 +1,9 @@
-Rails.application.routes.draw do
- mount EffectiveRoles::Engine => '/', as: 'effective_roles'
-end
-
EffectiveRoles::Engine.routes.draw do
namespace :admin do
resources :roles, only: [:index]
end
+end
+
+Rails.application.routes.draw do
+ mount EffectiveRoles::Engine => '/', as: 'effective_roles'
end