Sha256: 0c0d07a3aef211e445c579c70928b13a58ae00d8f32cc462f1ab72f6cacc36eb

Contents?: true

Size: 261 Bytes

Versions: 6

Compression:

Stored size: 261 Bytes

Contents

ActionController::Routing::Routes.draw do |map|
  if Authorization::activate_authorization_rules_browser?
    map.resources :authorization_rules, :only => :index, :collection => {:graph => :get}
    map.resources :authorization_usages, :only => :index
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
rubycs-declarative_authorization-0.3.0 config/routes.rb
rubycs-declarative_authorization-0.3.1 config/routes.rb
stffn-declarative_authorization-0.2.3 config/routes.rb
stffn-declarative_authorization-0.2.4 config/routes.rb
stffn-declarative_authorization-0.2.5 config/routes.rb
stffn-declarative_authorization-0.3.0 config/routes.rb