Sha256: f11d9589757732347b5d24f9a877334b9a5b3ec518e5057b626b00936335c1e4

Contents?: true

Size: 434 Bytes

Versions: 1

Compression:

Stored size: 434 Bytes

Contents

require 'rails'

module AssetsBooster
  class Railtie < Rails::Railtie
    config.after_initialize do
      require "assets_booster/packager"
      AssetsBooster::Packager.init
      ActiveSupport.on_load :action_view do
        require 'assets_booster/view_helper'
        ActionView::Base.send(:include, AssetsBooster::ViewHelper)
      end
    end

    rake_tasks do
      load "assets_booster/tasks/tasks.rake"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
assets_booster-0.0.1 lib/assets_booster/railtie.rb