Create Games service

This commit is contained in:
DariusIII
2025-12-26 16:03:22 +01:00
parent 9cd4eaad32
commit f289938f81
10 changed files with 1805 additions and 1620 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
namespace App\Http\Controllers;
use App\Models\Category;
use Blacklight\Games;
use App\Services\GamesService;
use Blacklight\Genres;
use Illuminate\Http\Request;
@@ -14,7 +14,7 @@ class GamesController extends BasePageController
*/
public function show(Request $request)
{
$games = new Games(['Settings' => $this->settings]);
$games = new GamesService;
$gen = new Genres(['Settings' => $this->settings]);
$concats = Category::getChildren(Category::PC_ROOT);