Sha256: a719a20ef7fb3fcbcfcfd91a1acb608b7f49468a7539e6242de8a8acee77b0b6

Contents?: true

Size: 296 Bytes

Versions: 1

Compression:

Stored size: 296 Bytes

Contents

require 'encore'
require 'rails'
require 'action_controller'

module Encore
  class Railtie < Rails::Railtie
    initializer 'encore.action_controller' do |app|
      ActiveSupport.on_load :action_controller, {}, &Encore::Helpers::ControllerHelper.inject_into_action_controller
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
encore-0.0.3 lib/encore/railtie.rb