Commit 7311a613 authored by Mat's avatar Mat

une page de test

parent 744f822a
......@@ -14,4 +14,12 @@ class DefaultController extends MasterController
{
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:
defaults:
_controller: PotageBundle:Default:index
potage_test:
path: /test
defaults:
_controller: PotageBundle:Default:test
### les routes des pages qui interrogent l'APIBundle
potage_legume_ajax_display:
......
......@@ -4,9 +4,13 @@
Page de test
{% endblock %}
{% block body %}
{{ block('breadcrumb') }}
{% block content %}
<h1>{{ block('title') }}</h1>
{{ dump() }}
{% endblock %}
{% block customJS %}
<script type="text/javascript">
</script>
{% endblock %}
\ No newline at end of file
Markdown is supported
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