github.com/hernad/nomad@v1.6.112/ui/app/adapters/agent.js (about) 1 /** 2 * Copyright (c) HashiCorp, Inc. 3 * SPDX-License-Identifier: MPL-2.0 4 */ 5 6 import ApplicationAdapter from './application'; 7 import classic from 'ember-classic-decorator'; 8 9 @classic 10 export default class AgentAdapter extends ApplicationAdapter { 11 pathForType = () => 'agent/members'; 12 13 urlForFindRecord() { 14 const [, ...args] = arguments; 15 return this.urlForFindAll(...args); 16 } 17 }