Sha256: 1d44ca0f6ba431c3c880eb92557693640a412db8575c4fd6b7030e91a796e4da
Contents?: true
Size: 583 Bytes
Versions: 2
Compression:
Stored size: 583 Bytes
Contents
require 'acl9/version' require 'acl9/model_extensions' require 'acl9/controller_extensions' require 'acl9/helpers' module Acl9 @@config = { :default_role_class_name => 'Role', :default_subject_class_name => 'User', :default_subject_method => :current_user, :default_association_name => :role_objects, :protect_global_roles => true, } mattr_reader :config end ActiveRecord::Base.send(:include, Acl9::ModelExtensions) ActionController::Base.send(:include, Acl9::ControllerExtensions) Acl9Helpers = Acl9::Helpers unless defined?(Acl9Helpers)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
acl9-1.1.0 | lib/acl9.rb |
acl9-1.0.0 | lib/acl9.rb |