public function sharedAction()
    {
        $blocks = $this->get('opifer.content.block_manager')->getRepository()
            ->findBy(['shared' => true]);

        return $this->render($this->getParameter('opifer_content.block_shared_view'), [
            'blocks' => $blocks,
        ]);
    }
public function sharedAction()
    {
        $blocks = $this->get('opifer.content.block_manager')->getRepository()
            ->findBy(['shared' => true]);

        return $this->render($this->getParameter('opifer_content.block_shared_view'), [
            'blocks' => $blocks,
        ]);
    }
public function sharedAction ( ) { $ blocks = $ this -> get ( 'opifer.content.block_manager' ) -> getRepository ( ) -> findBy ( [ 'shared' => true ] ) ; return $ this -> render ( $ this -> getParameter ( 'opifer_content.block_shared_view' ) , [ 'blocks' => $ blocks , ] ) ; }
Block shared view.

The template defaults to `OpiferContentBundle:Block:shared.html.twig`, but can easily be overwritten
in the bundle configuration.

@return Response
Block shared view .