mirror of
https://gitnet.fr/deblan/gist.git
synced 2021-08-14 08:30:49 +02:00
Fix issue with ViewController
This commit is contained in:
parent
6e848f0982
commit
001901a8f7
@ -53,7 +53,7 @@ class ViewController extends Controller
|
||||
$viewOptions = $this->getViewOptions($request, $gist, $commit);
|
||||
|
||||
if (is_array($viewOptions)) {
|
||||
return $app['twig']->createResponse('View/embed.html.twig', $viewOptions);
|
||||
return $this->createResponse('View/embed.html.twig', $viewOptions);
|
||||
} else {
|
||||
return $this->notFoundResponse();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user