lib/ember/appkit/rails.rb in ember-appkit-rails-0.1.2 vs lib/ember/appkit/rails.rb in ember-appkit-rails-0.2.0
- old
+ new
@@ -1,6 +1,6 @@
-require 'ember-rails'
-require 'ember/source'
+module Ember::Appkit::Rails; end
+
require 'ember/appkit/rails/engine'
-require 'es6_module_transpiler/rails'
+require 'ember/appkit/rails/sprockets'
-ES6ModuleTranspiler.prefix_pattern = [/^(controllers|models|views|helpers|routes|router|store)/, 'appkit']
+Rails::WelcomeController.view_paths = File.expand_path('../rails/templates', __FILE__)