Permalink
Browse files

Rack::Cache can block this too

  • Loading branch information...
1 parent f2ecb8f commit 8bb5c3da27de34da302f6ee40ccbc4299c97210d @bhuga committed Mar 21, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/font_assets/railtie.rb
@@ -8,7 +8,7 @@ class Railtie < Rails::Railtie
config.font_assets.origin ||= "*"
config.font_assets.options ||= { allow_ssl: true }
- app.middleware.insert_before 'ActionDispatch::Static', FontAssets::Middleware, config.font_assets.origin, config.font_assets.options
+ app.middleware.insert_before 'Rack::Cache', FontAssets::Middleware, config.font_assets.origin, config.font_assets.options
end
end
end

0 comments on commit 8bb5c3d

Please sign in to comment.