Sha256: 2c99d794460e5ea3d88cfad71828273e338f81cebfebd38f841000366474c324

Contents?: true

Size: 443 Bytes

Versions: 1

Compression:

Stored size: 443 Bytes

Contents

module Oxen
  class Engine < ::Rails::Engine
    isolate_namespace Oxen

    initializer 'oxen.mount' do |app|
      app.routes.preprend do
        mount Oxen::Engine => "/"
      end
    end
  end
end

ActiveSupport.on_load :action_controller do
  ActionController::Base.include Oxen::ApplicationHelper
  ActionController::Base.helper_method Oxen::ApplicationHelper
end
#ActiveSupport.on_load :action_view do 
#  Oxen::ApplicationHelper
#end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
oxen-0.0.1 lib/oxen/engine.rb