Sha256: 7c58a6ca310a51db6d5f17ca588fa90bd123690ee108d7bb54d058d573a54c37

Contents?: true

Size: 264 Bytes

Versions: 7

Compression:

Stored size: 264 Bytes

Contents

module Typus
  class Engine < Rails::Engine

    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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
typus-3.0.12 lib/typus/engine.rb
typus-3.0.11 lib/typus/engine.rb
typus-3.0.11.rc5 lib/typus/engine.rb
typus-3.0.11.rc4 lib/typus/engine.rb
typus-3.0.11.rc3 lib/typus/engine.rb
typus-3.0.11.rc2 lib/typus/engine.rb
typus-3.0.11.rc1 lib/typus/engine.rb