From d59c4516955a8b201d511c05db950960409c4576 Mon Sep 17 00:00:00 2001 From: Bruno Menezes Date: Tue, 15 Jul 2014 11:00:06 -0300 Subject: [PATCH] Correção de Lista de Usb Device cadastrados --- src/Cacic/CommonBundle/Controller/UsbDeviceController.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Cacic/CommonBundle/Controller/UsbDeviceController.php b/src/Cacic/CommonBundle/Controller/UsbDeviceController.php index dfd177d..52e91e3 100644 --- a/src/Cacic/CommonBundle/Controller/UsbDeviceController.php +++ b/src/Cacic/CommonBundle/Controller/UsbDeviceController.php @@ -11,13 +11,12 @@ use Cacic\CommonBundle\Form\Type\UsbDeviceType; class UsbDeviceController extends Controller { - public function indexAction( $page ) + public function indexAction() { return $this->render( 'CacicCommonBundle:UsbDevice:index.html.twig', array( - 'UsbDevice' => $this->getDoctrine()->getRepository( 'CacicCommonBundle:UsbDevice' )->paginar( $this->get( 'knp_paginator' ), $page ) - ) + 'UsbDevice' => $this->getDoctrine()->getRepository( 'CacicCommonBundle:UsbDevice' )->paginar()) ); } -- libgit2 0.21.2