lib/ember/appkit/rails.rb in ember-appkit-rails-0.2.2 vs lib/ember/appkit/rails.rb in ember-appkit-rails-0.3.0
- old
+ new
@@ -1,6 +1,18 @@
-module Ember::Appkit::Rails; end
+require 'ember/source'
+require 'es6_module_transpiler/rails'
+require 'active_model_serializers'
+require 'sprockets/railtie'
+require 'ember/source'
+require 'ember/data/source'
+require 'handlebars/source'
+module Ember
+ module Appkit
+ module Rails; end
+ end
+end
+
require 'ember/appkit/rails/engine'
require 'ember/appkit/rails/sprockets'
-
-Rails::WelcomeController.view_paths = File.expand_path('../rails/templates', __FILE__)
+require 'ember/appkit/rails/template'
+require 'ember/appkit/rails/active_support'