Commit 7311a613 authored by Mat's avatar Mat
Browse files

une page de test

parent 744f822a
...@@ -14,4 +14,12 @@ class DefaultController extends MasterController ...@@ -14,4 +14,12 @@ class DefaultController extends MasterController
{ {
return $this->render('@Potage/Default/index.html.twig'); return $this->render('@Potage/Default/index.html.twig');
} }
/**
* @return \Symfony\Component\HttpFoundation\Response
*/
public function testAction()
{
return $this->render('@Potage/Default/test.html.twig');
}
} }
...@@ -3,6 +3,11 @@ potage_homepage: ...@@ -3,6 +3,11 @@ potage_homepage:
defaults: defaults:
_controller: PotageBundle:Default:index _controller: PotageBundle:Default:index
potage_test:
path: /test
defaults:
_controller: PotageBundle:Default:test
### les routes des pages qui interrogent l'APIBundle ### les routes des pages qui interrogent l'APIBundle
potage_legume_ajax_display: potage_legume_ajax_display:
......
...@@ -4,9 +4,13 @@ ...@@ -4,9 +4,13 @@
Page de test Page de test
{% endblock %} {% endblock %}
{% block body %} {% block content %}
{{ block('breadcrumb') }}
<h1>{{ block('title') }}</h1> <h1>{{ block('title') }}</h1>
{{ dump() }} {% endblock %}
{% block customJS %}
<script type="text/javascript">
</script>
{% endblock %} {% endblock %}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment