Sha256: ab429b871decd18cb6691538d624ded365dac7706749f5f40637f8d5f1d78d5e
Contents?: true
Size: 571 Bytes
Versions: 2
Compression:
Stored size: 571 Bytes
Contents
require 'rails' require 'cancan' require 'blacklight' require 'blacklight/access_controls' module Blacklight::AccessControls extend ActiveSupport::Autoload class << self def configure @config ||= Config.new yield @config if block_given? @config end alias :config :configure end # This error is raised when a user isn't allowed to access a given controller action. # This usually happens within a call to Enforcement#enforce_access_controls but can be # raised manually. class AccessDenied < ::CanCan::AccessDenied; end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
blacklight-access_controls-0.2.0 | lib/blacklight-access_controls.rb |
blacklight-access_controls-0.1.0 | lib/blacklight-access_controls.rb |