Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More docs? #46

Open
justbane opened this issue Sep 15, 2014 · 4 comments
Open

More docs? #46

justbane opened this issue Sep 15, 2014 · 4 comments

Comments

@justbane
Copy link

Any way you can show some more examples. I get the one you have and have implemented it perfectly... however when trying to figure out how to use the adapter in a model things break down.

For instance using this as a model and not a collection is for some reason not working.

Could you give some quick examples of how to use this in a model context and send data using it as well?

Love to use this but need some more info if it's to be useful.

@karol-may
Copy link

Same here ....

@dottodot
Copy link

Me too, I'm trying to fetch a single model from the server and not having any luck what so ever.

@developer82
Copy link

More docs could be nice :)

@ToldYaOnce
Copy link

@dottodot Try overriding the URL in your model. You can use it as a string url: "http://** your url here **/", or as a function:

url: function(){
var rtr = "http://** your url here **" + this.get("id"); // or something like this
}

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

No branches or pull requests

5 participants