Commit d59c4516955a8b201d511c05db950960409c4576
1 parent
8e8e921e
Exists in
master
and in
1 other branch
Correção de Lista de Usb Device cadastrados
Showing
1 changed file
with
2 additions
and
3 deletions
Show diff stats
src/Cacic/CommonBundle/Controller/UsbDeviceController.php
... | ... | @@ -11,13 +11,12 @@ use Cacic\CommonBundle\Form\Type\UsbDeviceType; |
11 | 11 | |
12 | 12 | class UsbDeviceController extends Controller |
13 | 13 | { |
14 | - public function indexAction( $page ) | |
14 | + public function indexAction() | |
15 | 15 | { |
16 | 16 | return $this->render( |
17 | 17 | 'CacicCommonBundle:UsbDevice:index.html.twig', |
18 | 18 | array( |
19 | - 'UsbDevice' => $this->getDoctrine()->getRepository( 'CacicCommonBundle:UsbDevice' )->paginar( $this->get( 'knp_paginator' ), $page ) | |
20 | - ) | |
19 | + 'UsbDevice' => $this->getDoctrine()->getRepository( 'CacicCommonBundle:UsbDevice' )->paginar()) | |
21 | 20 | ); |
22 | 21 | } |
23 | 22 | ... | ... |