config/routes.rb in stffn-declarative_authorization-0.3.0 vs config/routes.rb in stffn-declarative_authorization-0.3.1
- old
+ new
@@ -1,6 +1,7 @@
ActionController::Routing::Routes.draw do |map|
if Authorization::activate_authorization_rules_browser?
- map.resources :authorization_rules, :only => :index, :collection => {:graph => :get}
+ map.resources :authorization_rules, :only => [:index],
+ :collection => {:graph => :get, :change => :get, :suggest_change => :get}
map.resources :authorization_usages, :only => :index
end
end
\ No newline at end of file