Sha256: b4a9d439149294cf29a8c44f39e82e44bfc126e721f55e88570370ffc18eaf99

Contents?: true

Size: 535 Bytes

Versions: 6

Compression:

Stored size: 535 Bytes

Contents

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

    initializer "ember-cli-rails.inflector" do
      ActiveSupport::Inflector.inflections :en do |inflect|
        inflect.acronym "CLI"
      end
    end

    initializer "ember-cli-rails.enable" do
      EmberCLI.enable! unless ENV["SKIP_EMBER"]
    end

    rake_tasks do
      require "sprockets/rails/task"
      Helpers.override_assets_precompile_task!
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ember-cli-rails-0.0.18 lib/ember-cli/railtie.rb
ember-cli-rails-0.0.17 lib/ember-cli/railtie.rb
ember-cli-rails-0.0.16 lib/ember-cli/railtie.rb
ember-cli-rails-0.0.15 lib/ember-cli/railtie.rb
ember-cli-rails-0.0.14 lib/ember-cli/railtie.rb
ember-cli-rails-0.0.13 lib/ember-cli/railtie.rb