Sha256: 52764b71f4e9bb57250ec95f942ae26f5d041ceefd09bca5dadd3e85bb45d6bc

Contents?: true

Size: 385 Bytes

Versions: 1

Compression:

Stored size: 385 Bytes

Contents

module ThecoreUiLayoutTarisWebsite
  class Engine < ::Rails::Engine
    # This code makes the static assets present in this 
    # engine available to main app, even if this gem is 
    # just a dependency of another engine
    initializer 'thecore_ui_layout_taris_website.load_static_assets' do |app|
      app.middleware.use ::ActionDispatch::Static, "#{root}/app"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
thecore_ui_layout_taris_website-1.1.2 lib/thecore_ui_layout_taris_website/engine.rb