lib/rails_audit/engine.rb in rails_audit-0.0.1 vs lib/rails_audit/engine.rb in rails_audit-1.0.0
- old
+ new
@@ -1,4 +1,10 @@
module RailsAudit
class Engine < ::Rails::Engine
+
+ config.eager_load_paths += Dir[
+ "#{config.root}/app/models/rails_audit",
+ "#{config.root}/app/models/rails_audit/concerns"
+ ]
+
end
end