Skip to content
Browse files

Merge pull request #82 from railsjedi/master

rails initializer fix
  • Loading branch information...
2 parents cabe8f5 + de6bbf1 commit 5fb40298f7b36845d7383d76024807157b1f1403 @tchak tchak committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/ember/rails/engine.rb
View
6 lib/ember/rails/engine.rb
@@ -14,9 +14,9 @@ class Engine < ::Rails::Engine
require 'ember/filters/slim' if defined? Slim
require 'ember/filters/haml' if defined? Haml
- app.assets.register_engine '.handlebars', Ember::Handlebars::Template
- app.assets.register_engine '.hbs', Ember::Handlebars::Template
- app.assets.register_engine '.hjs', Ember::Handlebars::Template
+ app.config.assets.register_engine '.handlebars', Ember::Handlebars::Template
+ app.config.assets.register_engine '.hbs', Ember::Handlebars::Template
+ app.config.assets.register_engine '.hjs', Ember::Handlebars::Template
end
end
end

0 comments on commit 5fb4029

Please sign in to comment.
Something went wrong with that request. Please try again.