diff --git a/ModelRepo.coffee b/ModelRepo.coffee index 1d92f2de..0dba652a 100644 --- a/ModelRepo.coffee +++ b/ModelRepo.coffee @@ -434,7 +434,7 @@ define [ urlParams.push("_fields=id") urlParams.push("_calc=#{ calcFields.join(',') }") if calcFields.length > 0 - @restResource + (if params.accessPoint? then ('/' + params.accessPoint) else '') + (if params.id then '/' + params.id + '/?' else '/?') + urlParams.join('&') + @restResource + (if params.accessPoint? then ('/' + params.accessPoint) else '') + (if params.id then '/' + params.id + '?' else '?') + urlParams.join('&') delete: (model) ->