src/SimpleThings/EntityAudit/Controller/AuditController.php
public function viewEntityAction($className, $id)
    {
        $ids = explode(',', $id);
        $revisions = $this->getAuditReader()->findRevisions($className, $ids);

        return $this->render('SimpleThingsEntityAuditBundle:Audit:view_entity.html.twig', array(
            'id' => $id,
            'className' => $className,
            'revisions' => $revisions,
        ));
    }
public function viewEntityAction($className, $id)
    {
        $ids = explode(',', $id);
        $revisions = $this->getAuditReader()->findRevisions($className, $ids);

        return $this->render('SimpleThingsEntityAuditBundle:Audit:view_entity.html.twig', array(
            'id' => $id,
            'className' => $className,
            'revisions' => $revisions,
        ));
    }
public function viewEntityAction ( $ className , $ id ) { $ ids = explode ( ',' , $ id ) ; $ revisions = $ this -> getAuditReader ( ) -> findRevisions ( $ className , $ ids ) ; return $ this -> render ( 'SimpleThingsEntityAuditBundle:Audit:view_entity.html.twig' , array ( 'id' => $ id , 'className' => $ className , 'revisions' => $ revisions , ) ) ; }
Lists revisions for the supplied entity.

@param string $className
@param string $id
@return Response
Lists revisions for the supplied entity .