Browse Source

Fix issue with ViewController

dev-master v1.10.0
Simon Vieille 2 years ago
parent
commit
001901a8f7
No known key found for this signature in database GPG Key ID: 919533E2B946EA10
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Gist/Controller/ViewController.php

+ 1
- 1
src/Gist/Controller/ViewController.php View File

@ -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…
Cancel
Save