lib/generators/ember/resource_override.rb in ember-rails-0.6.0 vs lib/generators/ember/resource_override.rb in ember-rails-0.7.0
- old
+ new
@@ -12,10 +12,10 @@
invoke "ember:model"
end
say_status :invoke, "ember controller and view (singular)", :white
with_padding do
- invoke "ember:view"
+ invoke "ember:view", [singular_name], :object => true
end
@_invocations[Ember::Generators::ControllerGenerator].delete "create_controller_files"
@_invocations[Ember::Generators::ViewGenerator].delete "create_view_files"