generated from boboko/starter
stoic multilingual
This commit is contained in:
@@ -45,7 +45,7 @@ public function cookies(string $locale)
|
||||
|
||||
private function show(string $slug)
|
||||
{
|
||||
$page = StoicPage::firstWhere('slug', $slug);
|
||||
$page = StoicPage::localized($slug);
|
||||
|
||||
if (! $page) {
|
||||
abort(404);
|
||||
|
||||
Reference in New Issue
Block a user