Added missing response::send() after refactoring

This commit is contained in:
Frederic Guillot
2016-05-20 18:42:06 -04:00
parent d20e2e94eb
commit 0fc020d303
3 changed files with 6 additions and 1 deletions

View File

@@ -65,6 +65,7 @@ class AvatarFile extends BaseController
$this->response->withContentType('image/jpeg');
if ($this->request->getHeader('If-None-Match') !== '"'.$etag.'"') {
$this->response->send();
$this->render($filename, $size);
} else {
$this->response->status(304);