Skip to content
This repository has been archived by the owner on Jul 8, 2020. It is now read-only.

remove of an model from the bikine store #135

Open
kwakayama opened this issue Dec 13, 2013 · 0 comments
Open

remove of an model from the bikine store #135

kwakayama opened this issue Dec 13, 2013 · 0 comments

Comments

@kwakayama
Copy link
Contributor

By using the LocalStorageStore, I can delete my Model with the 'destroy' method.
When I'm using the BikiniStore the DELETE request throws a 404.
I figured out that BikiniStore uses as default '_id' instead of 'id'.
So I added this line to my model:

 idAttribute: '_id'

Now it works fine with the LocalStorageStore and BikiniStore.
Maybe the BikiniStore should use the id as default.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant