lib/angular/html2js/railtie.rb in angular-html2js-0.0.2 vs lib/angular/html2js/railtie.rb in angular-html2js-0.0.3
- old
+ new
@@ -8,11 +8,11 @@
config.before_configuration do
config.angular_html2js = Angular::Html2js.config
end
- initializer "angular_html2js.configure_rails_initialization" do
- Sprockets.register_engine '.ngt', Angular::Html2js::Engine
+ initializer "angular_html2js.init_sprockets" do |app|
+ config.angular_html2js.init_sprockets
end
end
end
end