Model#typeKey -> Model#modelName

This commit is contained in:
Piotr Sarnacki 2015-11-18 17:15:08 +01:00
parent a732a18e59
commit 69dd90b76b

View File

@ -20,7 +20,7 @@ Adapter = DS.ActiveModelAdapter.extend
hash
findMany: (store, type, ids) ->
@ajax(@buildURL(type.typeKey), 'GET', data: { ids: ids })
@ajax(@buildURL(type.modelName), 'GET', data: { ids: ids })
handleResponse: (status, headers, payload) ->
if status > 299