lib/madmin/engine.rb in madmin-1.2.0 vs lib/madmin/engine.rb in madmin-1.2.1
- old
+ new
@@ -4,9 +4,9 @@
app.config.paths.add "app/madmin/resources", eager_load: true
app.config.paths.add "app/madmin/fields", eager_load: true
end
config.to_prepare do
- Madmin.resources = []
+ Madmin.reset_resources!
end
end
end