Sha256: 0a7426037ce84642489633c40efaabf385a7bb3a147750b19ece083a5b1f12e0

Contents?: true

Size: 347 Bytes

Versions: 3

Compression:

Stored size: 347 Bytes

Contents

module Garails
  class Engine < ::Rails::Engine
    initializer 'garails.view.helper' do |app|
      ActionController::Base.helper Garails::MobileHelper, Garails::JavascriptHelper, Garails::EventHelper
    end
    initializer 'garails.controller.helper' do |app|
      ActionController::Base.send :include, Garails::EventHelper
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
garails-0.3.0 lib/garails/engine.rb
garails-0.2.0 lib/garails/engine.rb
garails-0.1.4 lib/garails/engine.rb