lib/effective_roles/engine.rb in effective_roles-2.0.4 vs lib/effective_roles/engine.rb in effective_roles-2.0.5

- old
+ new

@@ -1,9 +1,9 @@ +require 'effective_roles/set_current_user' + module EffectiveRoles class Engine < ::Rails::Engine engine_name 'effective_roles' - - config.autoload_paths += Dir["#{config.root}/app/models/concerns", "#{config.root}/lib/"] # Include acts_as_addressable concern and allow any ActiveRecord object to call it initializer 'effective_roles.active_record' do |app| ActiveSupport.on_load :active_record do ActiveRecord::Base.extend(ActsAsRoleRestricted::Base)