Skip to content

Commit

Permalink
Do not add PictureRequestSecurity middleware after ActionDispatch::St…
Browse files Browse the repository at this point in the history
…atic

ActionDispatch::Static is not available on production systems by default.
  • Loading branch information
tvdeyen committed Oct 25, 2012
1 parent de81842 commit d8d9b4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/alchemy/engine.rb
Expand Up @@ -25,7 +25,7 @@ class Engine < Rails::Engine
end

initializer 'alchemy.picture_request_security' do |config|
config.middleware.insert_after ActionDispatch::Static, Alchemy::Middleware::PictureRequestSecurity
config.middleware.use Alchemy::Middleware::PictureRequestSecurity
end

initializer 'alchemy.flash_cookie' do |config|
Expand Down

0 comments on commit d8d9b4e

Please sign in to comment.