| @@ -23,9 +23,9 @@ | ||
| 23 | 23 | |
| 24 | 24 | public function getRenderedById($pageblock_id, PageBlockRepository $pageBlockRepository) | 
| 25 | 25 |      { | 
| 26 | -    	$pageblock = $this->where('id', $pageblock_id)->first(); | |
| 27 | - $new_pageblock = $pageBlockRepository->getRenderedByPageBlock($pageblock); | |
| 28 | - return $new_pageblock; | |
| 26 | +        $pageblock = $this->where('id', $pageblock_id)->first(); | |
| 27 | + $new_pageblock = $pageBlockRepository->getRenderedByPageBlock($pageblock); | |
| 28 | + return $new_pageblock; | |
| 29 | 29 | } | 
| 30 | 30 | |
| 31 | 31 | public function getById($id) | 
| @@ -8,7 +8,7 @@ | ||
| 8 | 8 |  { | 
| 9 | 9 | protected $user; | 
| 10 | 10 | |
| 11 | - public function __construct(User $user) | |
| 11 | + public function __construct(User $user) | |
| 12 | 12 |      { | 
| 13 | 13 | $this->user = $user; | 
| 14 | 14 | } | 
| @@ -84,7 +84,7 @@ | ||
| 84 | 84 | } | 
| 85 | 85 | |
| 86 | 86 |              if($page == null) { | 
| 87 | - abort(404); | |
| 87 | + abort(404); | |
| 88 | 88 | } | 
| 89 | 89 | } | 
| 90 | 90 | |