Sha256: ae0e2a848b4596398db2947aa6875d252f8d2c2a51269a72d88a6c81758f90bc

Contents?: true

Size: 448 Bytes

Versions: 1

Compression:

Stored size: 448 Bytes

Contents

module EmberCLI
  class Engine < Rails::Engine
    initializer "ember-cli-rails.view_helpers" do
      ActionView::Base.send :include, ViewHelpers
    end

    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
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ember-cli-rails-0.1.13 lib/ember-cli/engine.rb