Sha256: 60805cffc4c86cb886bc7c9c6ef77c81845acea8be59dbf38cda7660c3957d88

Contents?: true

Size: 270 Bytes

Versions: 1

Compression:

Stored size: 270 Bytes

Contents

module Blazer
  class Engine < ::Rails::Engine
    isolate_namespace Blazer

    initializer "precompile" do |app|
      # use a proc instead of a string
      app.config.assets.precompile << proc { |path| path =~ /\Ablazer\/application\.(js|css)\z/ }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blazer-0.0.6 lib/blazer/engine.rb