emu icon indicating copy to clipboard operation
emu copied to clipboard

Insert and delete for nested models sending request to incorrect URL

Open charlieridley opened this issue 12 years ago • 0 comments

App.Foo = Emu.Model.extend({ bar: Emu.field("App.Bar", {collection: true}) });

var bars = App.Foo.find(4).get("bars.firstObject"); bars.save() //should send requests to foo/4/bar but sends request to bar

charlieridley avatar Apr 15 '13 02:04 charlieridley