Sha256: 45af16d0899eb31f97e18437bf07d4912bdc3220d19315d0033476644654c488

Contents?: true

Size: 338 Bytes

Versions: 1

Compression:

Stored size: 338 Bytes

Contents

# frozen_string_literal: true
require "motorhead/version"
require 'motorhead/config'

module Motorhead
  class Railtie < ::Rails::Railtie
    ActiveSupport.on_load :action_controller do
      require 'motorhead/abstract_controller'
    end
    ActiveSupport.on_load :action_view do
      require 'motorhead/action_view'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
motorhead-0.5.0 lib/motorhead.rb