Sha256: 62ef6e2549d125dc4f61321c35d6ddc00bdfaa1bc29c9c7a0566b045e873783b
Contents?: true
Size: 660 Bytes
Versions: 9
Compression:
Stored size: 660 Bytes
Contents
if Authorization::activate_authorization_rules_browser? if Rails.respond_to?(:application) Rails.application.routes.draw do resources :authorization_rules, :only => [:index] do collection do get :graph get :change get :suggest_change end end resources :authorization_usages, :only => :index end else ActionController::Routing::Routes.draw do |map| map.resources :authorization_rules, :only => [:index], :collection => {:graph => :get, :change => :get, :suggest_change => :get} map.resources :authorization_usages, :only => :index end end end
Version data entries
9 entries across 9 versions & 4 rubygems