Sha256: 9552fb2a25ce4dc90f72b1bc67739c590c6e71eb8dced85eed0cd1d2810e4106

Contents?: true

Size: 436 Bytes

Versions: 4

Compression:

Stored size: 436 Bytes

Contents

module Familiarity
  class Engine < ::Rails::Engine
    isolate_namespace Familiarity

    #initializer 'my_engine.action_controller' do |app|
    #  ActiveSupport.on_load :action_controller do
    #    helper Familiarity::ApplicationHelper
    #  end
    #end
  end

  class Railtie < ::Rails::Railtie
    initializer "familiarity.view_helpers" do
      ActionView::Base.send :include, Familiarity::ApplicationHelper
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
familiarity-0.2.5 lib/familiarity/engine.rb
familiarity-0.2.4 lib/familiarity/engine.rb
familiarity-0.2.2 lib/familiarity/engine.rb
familiarity-0.2.1 lib/familiarity/engine.rb