Sha256: 46545d0da7125f9e4e75fb19ab40ddce44c2110070c48aa1923855b7bc046884

Contents?: true

Size: 296 Bytes

Versions: 3

Compression:

Stored size: 296 Bytes

Contents

# encoding: UTF-8
module AssetPipelineRoutes
  class Railtie < ::Rails::Railtie
    initializer "asset_pipeline_routes.environment" do |app|
      ActiveSupport.on_load(:action_view) do
        app.assets.register_preprocessor('application/javascript', PathProcessor)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
asset_pipeline_routes-0.3.0 lib/asset_pipeline_routes/railtie.rb
asset_pipeline_routes-0.2.1 lib/asset_pipeline_routes/railtie.rb
asset_pipeline_routes-0.2.0 lib/asset_pipeline_routes/railtie.rb