Sha256: 70817fe3928bf6f023751cca82ade269c7c5c49df528fad87e555f987c17d3d4

Contents?: true

Size: 314 Bytes

Versions: 22

Compression:

Stored size: 314 Bytes

Contents

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

Version data entries

22 entries across 22 versions & 9 rubygems

Version Path
stffn-declarative_authorization-0.3.1 config/routes.rb
stffn-declarative_authorization-0.3.2.1 config/routes.rb
stffn-declarative_authorization-0.3.2.2 config/routes.rb
stffn-declarative_authorization-0.3.2 config/routes.rb
tma-declarative_authorization-0.3.2.1 config/routes.rb
tma-declarative_authorization-0.3.2.2 config/routes.rb
uhees-declarative_authorization-0.3.1 config/routes.rb
uhees-declarative_authorization-0.3.2.2.1 config/routes.rb
timcharper-declarative_authorization-0.4.1.6 config/routes.rb
timcharper-declarative_authorization-0.4.1.5 config/routes.rb
timcharper-declarative_authorization-0.4.1.4 config/routes.rb
timcharper-declarative_authorization-0.4.1.3 config/routes.rb
tarsolya-declarative_authorization-0.4.1.2 config/routes.rb
tarsolya-declarative_authorization-0.4.1 config/routes.rb
timcharper-declarative_authorization-0.4.1.2 config/routes.rb
declarative_authorization-0.4.1 config/routes.rb
declarative_authorization-0.4 config/routes.rb
ghart-declarative_authorization-0.3.2.4 config/routes.rb
mconnell-declarative_authorization-0.3.2.3 config/routes.rb
viva-declarative_authorization-0.3.2.3.1 config/routes.rb