FEATURE: add base support for displaying multiple pages on one-page template

This commit is contained in:
Michal Kváček
2016-09-24 01:53:43 +02:00
parent 7cd084e621
commit b15bbae037
13 changed files with 181 additions and 31 deletions
+4 -4
View File
@@ -17,10 +17,10 @@ class Homepage extends ContentPage
}
// render page
try {
// try {
return $this->renderPage($page);
} catch (\Exception $e) {
return view('errors.homepageNotAvailable', ['exception' => $e, 'reason' => 'exception']);
}
// } catch (\Exception $e) {
// return view('errors.homepageNotAvailable', ['exception' => $e, 'reason' => 'exception']);
// }
}
}