lib/typus/engine.rb in typus-3.0.10 vs lib/typus/engine.rb in typus-3.0.11.rc1

- old
+ new

@@ -1,6 +1,11 @@ module Typus - class Engine < Rails::Engine - end + initializer "static assets" do |app| + if app.config.serve_static_assets + app.middleware.insert_after ::ActionDispatch::Static, ::ActionDispatch::Static, "#{root}/app/assets" + end + end + + end end