lib/generators/templates/scaffold/template/form.hbs in ember-appkit-rails-0.3.2 vs lib/generators/templates/scaffold/template/form.hbs in ember-appkit-rails-0.4.0
- old
+ new
@@ -3,7 +3,7 @@
<label for=""><%= attribute[:name].titleize -%></label>
{{input value=<%= attribute[:name].camelize(:lower) -%>}}
</div>
<% end -%>
-<button type="submit" {{action save}}>Save</button>
-<button type="submit" {{action cancel}}>Cancel</button>
+<button type="submit" {{action save this}}>Save</button>
+<button type="submit" {{action cancel this}}>Cancel</button>