Sha256: 687a09d835c4b20ef768cad08536819f0a0aec0d5d0a7f2013c0c719d35d90ea

Contents?: true

Size: 366 Bytes

Versions: 1

Compression:

Stored size: 366 Bytes

Contents

module Axel
  class Engine < ::Rails::Engine
    if Rails::VERSION::MAJOR == 3 && Rails::VERSION::MINOR > 0
      isolate_namespace Axel
    end
    config.railties_order = [self, :main_app, :all]

    initializer 'axel.application_helper' do |app|
      ActiveSupport.on_load :action_controller do
        helper Axel::ApplicationHelper
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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