Sha256: ef38ae89728e9b676a05418fb5e5c3b86a6d4810ce159983f0af2ea93651b913

Contents?: true

Size: 397 Bytes

Versions: 3

Compression:

Stored size: 397 Bytes

Contents

require 'kashiwamochi/action_controller'
require 'kashiwamochi/action_view'

module Kashiwamochi
  class Railtie < Rails::Railtie
    initializer 'kashiwamochi.initialize' do
      ActiveSupport.on_load(:action_controller) do
        include Kashiwamochi::ActionController
      end
      ActiveSupport.on_load(:action_view) do
        include Kashiwamochi::ActionView
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kashiwamochi-0.2.2 lib/kashiwamochi/railtie.rb
kashiwamochi-0.2.1 lib/kashiwamochi/railtie.rb
kashiwamochi-0.2.0 lib/kashiwamochi/railtie.rb