Sha256: 0f243f1306b7b46b6d799edcb613c76a30a8de71e398a38132662c0ade91461d

Contents?: true

Size: 415 Bytes

Versions: 2

Compression:

Stored size: 415 Bytes

Contents

require File.join(File.dirname(__FILE__), 'acl9', 'config')

if defined? ActiveRecord::Base
  require File.join(File.dirname(__FILE__), 'acl9', 'model_extensions')

  ActiveRecord::Base.send(:include, Acl9::ModelExtensions)
end


if defined? ActionController::Base
  require File.join(File.dirname(__FILE__), 'acl9', 'controller_extensions')

  ActionController::Base.send(:include, Acl9::ControllerExtensions)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
be9-acl9-0.9.1 lib/acl9.rb
be9-acl9-0.9.2 lib/acl9.rb