Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 14 lines (12 sloc) 0.446 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14
module CanCan
  # A general CanCan exception
  class Error < StandardError; end
  
  # This error is raised when a user isn't allowed to access a given
  # controller action. See ControllerAdditions#unauthorized! for details.
  class AccessDenied < Error; end
end

require 'cancan/ability'
require 'cancan/controller_resource'
require 'cancan/resource_authorization'
require 'cancan/controller_additions'
require 'cancan/active_record_additions'
Something went wrong with that request. Please try again.