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
|
|
|
|
|
|
|
|
require File.dirname(__FILE__) + '/cancan/ability'
|
2009-12-13 20:11:02 +00:00
|
|
|
require File.dirname(__FILE__) + '/cancan/controller_resource'
|
2009-11-26 17:29:53 +00:00
|
|
|
require File.dirname(__FILE__) + '/cancan/resource_authorization'
|
2009-11-17 03:24:04 +00:00
|
|
|
require File.dirname(__FILE__) + '/cancan/controller_additions'
|