mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
update ember docs with ember-data issue tracking urlForFindRecord / the inability to use query params on a single resource find
This commit is contained in:
parent
168ec0ec2a
commit
4cb5ad08e7
@ -34,6 +34,8 @@ export default DS.JSONAPIAdapter.extend({
|
||||
|
||||
// allows queries to be sent along with a findRecord
|
||||
// hopefully Ember / EmberData will soon have this built in
|
||||
// ember-data issue tracked here:
|
||||
// https://github.com/emberjs/data/issues/3596
|
||||
urlForFindRecord(id, modelName, snapshot) {
|
||||
let url = this._super(...arguments);
|
||||
let query = Ember.get(snapshot, 'adapterOptions.query');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user