Commit f04f3f9dd698a8a1c5bf11d1b503a51f9c78d38e
1 parent
4c7964a9
Exists in
master
and in
1 other branch
alterando template
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/Cacic/CommonBundle/Controller/LocalController.php
... | ... | @@ -23,12 +23,12 @@ class LocalController extends Controller |
23 | 23 | * Tela de listagem |
24 | 24 | * @param $page |
25 | 25 | */ |
26 | - public function indexAction( $page ) | |
26 | + public function indexAction() | |
27 | 27 | { |
28 | 28 | return $this->render( |
29 | 29 | 'CacicCommonBundle:Local:index.html.twig', |
30 | 30 | array( |
31 | - 'locais' => $this->getDoctrine()->getRepository( 'CacicCommonBundle:Local' )->paginar( $this->get( 'knp_paginator' ), $page ) | |
31 | + 'locais' => $this->getDoctrine()->getRepository( 'CacicCommonBundle:Local' )->listar() | |
32 | 32 | ) |
33 | 33 | ); |
34 | 34 | } | ... | ... |