lib/bjond-app/engine.rb in bjond-api-0.1.5 vs lib/bjond-app/engine.rb in bjond-api-0.2.0
- old
+ new
@@ -1,4 +1,7 @@
module BjondApi
class Engine < ::Rails::Engine
+ initializer 'static_assets.load_static_assets' do |app|
+ app.middleware.use ::ActionDispatch::Static, "#{root}/app"
+ end
end
end
\ No newline at end of file