From 69dd90b76b71ed5b474a79041b0b92458e971048 Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Wed, 18 Nov 2015 17:15:08 +0100 Subject: [PATCH] Model#typeKey -> Model#modelName --- app/adapters/application.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/adapters/application.coffee b/app/adapters/application.coffee index dea08e11..d36bca6d 100644 --- a/app/adapters/application.coffee +++ b/app/adapters/application.coffee @@ -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