protected function setUpRoutes() { $this->setRoutes(['findAll' => "{$this->resourceName}.json", 'find' => "{$this->resourceName}/{id}.json"]); }