cancan/lib/cancan.rb

14 lines
571 B
Ruby
Raw Normal View History

2010-04-13 12:59:50 +00:00
require 'cancan/ability'
2010-12-21 18:41:55 +00:00
require 'cancan/rule'
2010-04-13 12:59:50 +00:00
require 'cancan/controller_resource'
require 'cancan/controller_additions'
require 'cancan/model_additions'
require 'cancan/exceptions'
require 'cancan/inherited_resource'
2010-12-30 00:24:06 +00:00
require 'cancan/model_adapters/abstract_adapter'
require 'cancan/model_adapters/default_adapter'
require 'cancan/model_adapters/active_record_adapter' if defined? ActiveRecord
require 'cancan/model_adapters/data_mapper_adapter' if defined? DataMapper
require 'cancan/model_adapters/mongoid_adapter' if defined?(Mongoid) && defined?(Mongoid::Document)