Model#typeKey -> Model#modelName
This commit is contained in:
parent
a732a18e59
commit
69dd90b76b
|
@ -20,7 +20,7 @@ Adapter = DS.ActiveModelAdapter.extend
|
||||||
hash
|
hash
|
||||||
|
|
||||||
findMany: (store, type, ids) ->
|
findMany: (store, type, ids) ->
|
||||||
@ajax(@buildURL(type.typeKey), 'GET', data: { ids: ids })
|
@ajax(@buildURL(type.modelName), 'GET', data: { ids: ids })
|
||||||
|
|
||||||
handleResponse: (status, headers, payload) ->
|
handleResponse: (status, headers, payload) ->
|
||||||
if status > 299
|
if status > 299
|
||||||
|
|
Loading…
Reference in New Issue
Block a user