Sha256: 62b0d13af5f4c5996654a3128635cbdb5cb2b0a8128f1079126efb2fa1094eed
Contents?: true
Size: 482 Bytes
Versions: 2
Compression:
Stored size: 482 Bytes
Contents
# -*- encoding : utf-8 -*- module KirguduBase class Engine < ::Rails::Engine isolate_namespace KirguduBase # Initializer to combine this engines static assets with the static assets of the hosting site. # initializer "static assets" do |app| # app.middleware.use ::ActionDispatch::Static, "#{root}/public" # end initializer "static assets" do |app| app.middleware.insert_before(::ActionDispatch::Static, ::ActionDispatch::Static, "#{root}/public") end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
kirgudu_base-0.0.18 | lib/kirgudu_base/engine.rb |
kirgudu_base-0.0.17 | lib/kirgudu_base/engine.rb |