Sha256: 4450cfd2dcc87dee9cf7c26003f83220b95c9104ba7af4526cb3c90695c54032

Contents?: true

Size: 537 Bytes

Versions: 13

Compression:

Stored size: 537 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')
  require File.join(File.dirname(__FILE__), 'acl9', 'helpers')

  ActionController::Base.send(:include, Acl9::ControllerExtensions)
  Acl9Helpers = Acl9::Helpers unless defined?(Acl9Helpers)
end

Version data entries

13 entries across 13 versions & 7 rubygems

Version Path
be9-acl9-0.10.0 lib/acl9.rb
be9-acl9-0.11.0 lib/acl9.rb
be9-acl9-0.9.3 lib/acl9.rb
be9-acl9-0.9.4 lib/acl9.rb
jeffleeismyhero-acl9-0.10.1 lib/acl9.rb
jeffleeismyhero-acl9-0.10.2 lib/acl9.rb
peterpunk-acl9-0.10.0 lib/acl9.rb
rurounijones-acl9-0.10.1 lib/acl9.rb
trydionel-acl9-0.11.01 lib/acl9.rb
ktopping_acl9-0.13.0 lib/acl9.rb
ktopping_acl9-0.12.0 lib/acl9.rb
acl9-0.12.0 lib/acl9.rb
acl9-0.11.0 lib/acl9.rb