Permalink
Browse files

tryng to fix middleware error in production

  • Loading branch information...
kennyadsl committed Jan 29, 2011
1 parent 70801d8 commit 4ae8bc68af13591bfce93521973c5ed544f95b46
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/spree_mail.rb
View
@@ -9,7 +9,7 @@ class Engine < Rails::Engine
config.autoload_paths += %W(#{config.root}/lib)
initializer "static assets" do |app|
- app.middleware.insert_after ::ActionDispatch::Static, ::ActionDispatch::Static, "#{config.root}/public"
+ app.middleware.insert_before ::Rack::Lock, ::ActionDispatch::Static, "#{config.root}/public"
end
#def self.activate

0 comments on commit 4ae8bc6

Please sign in to comment.