Sha256: f8fc202f88f790e1417f343d9576c5e76c46b072100d199f5f7d2a876581c1d0
Contents?: true
Size: 619 Bytes
Versions: 37
Compression:
Stored size: 619 Bytes
Contents
if Authorization::activate_authorization_rules_browser? require File.join(File.dirname(__FILE__), %w{.. .. lib declarative_authorization maintenance}) class AuthorizationUsagesController < ApplicationController unloadable helper :authorization_rules filter_access_to :all, :require => :read # TODO set context? def index respond_to do |format| format.html do @auth_usages_by_controller = Authorization::Maintenance::Usage.usages_by_controller end end end end else class AuthorizationUsagesController < ApplicationController; end end # activate_authorization_rules_browser?
Version data entries
37 entries across 37 versions & 12 rubygems