Sha256: 9fab2101cb57298806f1d9ea7de7a815163fad0025507c0d9b696495f212c978

Contents?: true

Size: 451 Bytes

Versions: 1

Compression:

Stored size: 451 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 ENV["SKIP_EMBER"]
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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