cancan/lib/cancan.rb

11 lines
344 B
Ruby
Raw Normal View History

module CanCan
# This error is raised when a user isn't allowed to access a given
# controller action. See ControllerAdditions#unauthorized! for details.
class AccessDenied < StandardError; end
2009-11-17 03:24:04 +00:00
end
2010-04-13 12:59:50 +00:00
require 'cancan/ability'
require 'cancan/controller_resource'
require 'cancan/resource_authorization'
require 'cancan/controller_additions'