2009-11-17 01:02:49 +00:00
|
|
|
module CanCan
|
2009-11-18 00:56:16 +00:00
|
|
|
# This error is raised when a user isn't allowed to access a given
|
|
|
|
# controller action. See ControllerAdditions#unauthorized! for details.
|
2009-11-17 01:02:49 +00:00
|
|
|
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'
|