getUser($request))) { throw new AuthorizationFailedException(); } $resources = Template::findBySQL('1 ORDER BY mkdate', []); return $this->getContentResponse($resources); } }