@@ -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) |
@@ -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 | |