Initial commit

This commit is contained in:
root
2026-05-09 17:28:23 +02:00
commit 9d73f82529
5575 changed files with 281989 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
namespace App\Http\Controllers\Help;
use App\Http\Controllers\Controller;
use App\Models\Help\WebsiteHelpCenterCategory;
use Illuminate\Support\Facades\Cache;
class HelpCenterController extends Controller
{
public function __invoke()
{
$categories = Cache::remember('help_center_categories', 300, fn () => WebsiteHelpCenterCategory::orderBy('position')->get());
return view('help-center.index', [
'categories' => $categories,
]);
}
}