urlForFindAll (modelName, snapshot) String
Builds a URL for a store.findAll(type)
call.
Example:
app/adapters/comment.js
import DS from 'ember-data'; export default DS.JSONAPIAdapter.extend({ urlForFindAll(id, modelName, snapshot) { return 'data/comments.json'; } });
Parameters:
-
modelName
String
-
snapshot
DS.SnapshotRecordArray
Returns:
-
String
- url
Please login to continue.