src/SimpleThings/EntityAudit/Controller/AuditController.php
public function indexAction($page = 1)
    {
        $reader = $this->getAuditReader();
        $revisions = $reader->findRevisionHistory(20, 20 * ($page - 1));

        return $this->render('SimpleThingsEntityAuditBundle:Audit:index.html.twig', array(
            'revisions' => $revisions,
        ));
    }
public function indexAction($page = 1)
    {
        $reader = $this->getAuditReader();
        $revisions = $reader->findRevisionHistory(20, 20 * ($page - 1));

        return $this->render('SimpleThingsEntityAuditBundle:Audit:index.html.twig', array(
            'revisions' => $revisions,
        ));
    }
public function indexAction ( $ page = 1 ) { $ reader = $ this -> getAuditReader ( ) ; $ revisions = $ reader -> findRevisionHistory ( 20 , 20 * ( $ page - 1 ) ) ; return $ this -> render ( 'SimpleThingsEntityAuditBundle:Audit:index.html.twig' , array ( 'revisions' => $ revisions , ) ) ; }
Renders a paginated list of revisions.

@param int $page
@return Response
Renders a paginated list of revisions .