diff --git a/src/Gist/Controller/ViewController.php b/src/Gist/Controller/ViewController.php index 9090a49..be594ab 100644 --- a/src/Gist/Controller/ViewController.php +++ b/src/Gist/Controller/ViewController.php @@ -30,10 +30,6 @@ class ViewController protected function notFoundResponse(Application $app) { - return $app['twig']->render( - 'View/notFound.html.twig', - array( - ) - ); + return $app['twig']->render('View/notFound.html.twig'); } } diff --git a/src/Gist/Resources/views/Home/index.html.twig b/src/Gist/Resources/views/Home/index.html.twig index b039931..c13204a 100644 --- a/src/Gist/Resources/views/Home/index.html.twig +++ b/src/Gist/Resources/views/Home/index.html.twig @@ -85,11 +85,11 @@ {% endblock %} {% block js %} - {{ parent() }} + {{ parent() }} - {% if gist is not null %} - - {% endif %} + {% if gist is not null %} + + {% endif %} {% endblock %} diff --git a/src/Gist/Resources/views/View/notFound.html.twig b/src/Gist/Resources/views/View/notFound.html.twig index 1952e68..bfc5748 100644 --- a/src/Gist/Resources/views/View/notFound.html.twig +++ b/src/Gist/Resources/views/View/notFound.html.twig @@ -1,16 +1,16 @@ {% extends 'base.html.twig' %} {% block body %} -
{{ 'gist.404.message'|trans }}
-{{ 'gist.404.message'|trans }}
+- {{ 'foo' }} -- {% endif %} -
- Commit 82110bbb53fbc5bf010ea4a50d999ab7cb22ae4f
-
- Date: Mon May 4 23:09:44 2015 +0200
-
+ {{ 'foo' }} ++ {% endif %} +
+ Commit 82110bbb53fbc5bf010ea4a50d999ab7cb22ae4f
+
+ Date: Mon May 4 23:09:44 2015 +0200
+
- - Afficher - - - DIFF - -
-+ + Afficher + + + DIFF + +
+
- Commit 82110bbb53fbc5bf010ea4a50d999ab7cb22ae4f
-
- Date: Mon May 4 23:09:44 2015 +0200
-
- - Afficher - - - DIFF - -
-
- Commit 82110bbb53fbc5bf010ea4a50d999ab7cb22ae4f
-
- Date: Mon May 4 23:09:44 2015 +0200
-
- - Afficher - - - DIFF - -
-
- Commit 82110bbb53fbc5bf010ea4a50d999ab7cb22ae4f
-
- Date: Mon May 4 23:09:44 2015 +0200
-
- - Afficher - - - DIFF - -
-
- Commit 82110bbb53fbc5bf010ea4a50d999ab7cb22ae4f
-
- Date: Mon May 4 23:09:44 2015 +0200
-
- - Afficher - - - DIFF - -
-