lib/admin_it/engine.rb in admin_it-1.1.0 vs lib/admin_it/engine.rb in admin_it-1.2.0
- old
+ new
@@ -17,9 +17,11 @@
ActionController::Base.module_eval do
prepend_view_path 'lib/views'
end
end
+
+ config.app_middleware.insert_after(Rack::ETag, Middleware)
end
def self.config
config = AdminIt::Config
yield config if block_given?