Commit be48cd08 authored by Mat's avatar Mat
Browse files

hop

parent 4556ba75
......@@ -47,7 +47,7 @@ class LegumeController extends Controller
if ($page < 1) {
throw $this->createNotFoundException("Page ".$page." inexistante");
}
$nbPerPage = 15;
$nbPerPage = 10;
$em = $this->getDoctrine()->getManager();
$legumes = $em->getRepository('PotageBundle:Legume')->findAllByRead($page, $nbPerPage);
......
......@@ -15,7 +15,7 @@
</p>
<p class="right">
<a class="btn btn-primary" role="button" aria-pressed="true"
href="{{ path('potage_legume_create') }}"><i class="fas fa-plus fa-fw"></i>Ajouter un légume</a>
href="{{ path('potage_legume_create') }}"><i class="fas fa-plus fa-fw"></i> Ajouter un légume</a>
</p>
......
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