Sha256: 7dc00f1f1778b8b51e6d2fbb32c3837549a3bce72500b0d2447a6b723b983b30
Contents?: true
Size: 643 Bytes
Versions: 1
Compression:
Stored size: 643 Bytes
Contents
require 'ember/handlebars/template' module Ember module Rails class Engine < ::Rails::Engine config.handlebars = ActiveSupport::OrderedOptions.new config.handlebars.precompile = true config.handlebars.templates_root = "templates" config.handlebars.templates_path_separator = '/' config.before_initialize do |app| Sprockets::Engines #force autoloading Sprockets.register_engine '.handlebars', Ember::Handlebars::Template Sprockets.register_engine '.hbs', Ember::Handlebars::Template Sprockets.register_engine '.hjs', Ember::Handlebars::Template end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ember-rails-lite-0.12.0 | lib/ember/rails/engine.rb |