Sha256: 8b244b200a78dcabe72dafae8b8d7db643fc32bd4033339d7c7d1c33ce64fe78

Contents?: true

Size: 376 Bytes

Versions: 2

Compression:

Stored size: 376 Bytes

Contents

require "nether"
require "rails"

module Nether
  class Engine < Rails::Engine
    initializer 'nether.helper' do |app|
      ActionView::Base.send :include, NetherHelper
    end
    
    initializer 'nether.action_controller' do |app|
      ActiveSupport.on_load(:action_controller) do
        include Nether::NetherController
      end
    end
    
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nether-0.0.2 lib/nether/engine.rb
nether-0.0.1 lib/nether/engine.rb