public function show(Request $request)
    {
        // AUTHORIZE ... COMES HERE
        $pb = $this->pageblock->where('id', $request->get('pageblock_id'))->first();
        $pageblock = $this->pageBlockRepository->getRenderedByPageBlock($pageblock);
        return $pageblock;
    }
public function show(Request $request)
    {
        // AUTHORIZE ... COMES HERE
        $pb = $this->pageblock->where('id', $request->get('pageblock_id'))->first();
        $pageblock = $this->pageBlockRepository->getRenderedByPageBlock($pageblock);
        return $pageblock;
    }
public function show ( Request $ request ) { // AUTHORIZE ... COMES HERE $ pb = $ this -> pageblock -> where ( 'id' , $ request -> get ( 'pageblock_id' ) ) -> first ( ) ; $ pageblock = $ this -> pageBlockRepository -> getRenderedByPageBlock ( $ pageblock ) ; return $ pageblock ; }
Get rendered pageblock html as a string.

@param  Request $request
@return array $pageblock
Get rendered pageblock html as a string .