Sha256: ecc3ced3f52470edde2d122586830f36f5c7de76467a15c91dde43b0b64de700

Contents?: true

Size: 485 Bytes

Versions: 6

Compression:

Stored size: 485 Bytes

Contents

module EmberCLI
  class Engine < Rails::Engine
    initializer "ember-cli-rails.inflector" do
      ActiveSupport::Inflector.inflections do |inflect|
        inflect.acronym "CLI" if inflect.respond_to?(:acronym)
      end
    end

    initializer "ember-cli-rails.enable" do
      EmberCLI.enable! unless EmberCLI.skip?
    end

    initializer "ember-cli-rails.helpers" do
      config.to_prepare do
        ActionController::Base.helper EmberRailsHelper
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ember-cli-rails-0.4.1 lib/ember-cli/engine.rb
ember-cli-rails-0.4.0 lib/ember-cli/engine.rb
ember-cli-rails-0.3.5 lib/ember-cli/engine.rb
ember-cli-rails-0.3.4 lib/ember-cli/engine.rb
ember-cli-rails-0.3.3 lib/ember-cli/engine.rb
ember-cli-rails-0.3.2 lib/ember-cli/engine.rb