PagePlus/Http/Controllers/PagePlusController.php

17 lines
366 B
PHP
Raw Permalink Normal View History

2024-04-01 12:51:52 +01:00
<?php
namespace Modules\PagePlus\Http\Controllers;
use App\Facades\Theme;
use Illuminate\Routing\Controller;
use Modules\PagePlus\Entities\PagePlus;
class PagePlusController extends Controller
{
public function show($slug)
{
$page = PagePlus::getBySlug($slug);
return view(Theme::moduleView('pageplus', 'index'), compact('page'));
}
}