lib/whoops/engine.rb in whoops-0.1.10 vs lib/whoops/engine.rb in whoops-0.2
- old
+ new
@@ -1,4 +1,7 @@
module Whoops
class Engine < Rails::Engine
+ initializer "static assets" do |app|
+ app.middleware.use ::ActionDispatch::Static, File.expand_path("../../../app/assets", __FILE__)
+ end
end
-end
\ No newline at end of file
+end