11 lines
344 B
Ruby
11 lines
344 B
Ruby
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
|
|
end
|
|
|
|
require 'cancan/ability'
|
|
require 'cancan/controller_resource'
|
|
require 'cancan/resource_authorization'
|
|
require 'cancan/controller_additions'
|