lib/generators/ember/view_generator.rb in ember-rails-lite-0.8.0 vs lib/generators/ember/view_generator.rb in ember-rails-lite-0.9.2

- old
+ new

@@ -11,9 +11,10 @@ def create_view_files template 'view.js', File.join('app/assets/javascripts/views', class_path, "#{file_name}_view.js") template 'view.handlebars', File.join('app/assets/javascripts/templates', class_path, "#{file_name}.handlebars") invoke('ember:controller', [ file_name ], options) + invoke('ember:route', [ file_name ], options) end end end end