mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Create Games service
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
namespace App\Http\Controllers\Admin;
|
||||
|
||||
use App\Http\Controllers\BasePageController;
|
||||
use Blacklight\Games;
|
||||
use App\Services\GamesService;
|
||||
use Blacklight\Genres;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Carbon;
|
||||
@@ -15,7 +15,7 @@ class AdminGameController extends BasePageController
|
||||
*/
|
||||
public function index(Request $request)
|
||||
{
|
||||
$game = new Games(['Settings' => null]);
|
||||
$game = new GamesService;
|
||||
|
||||
$meta_title = $title = 'Game List';
|
||||
|
||||
@@ -38,7 +38,7 @@ class AdminGameController extends BasePageController
|
||||
*/
|
||||
public function edit(Request $request)
|
||||
{
|
||||
$games = new Games(['Settings' => null]);
|
||||
$games = new GamesService;
|
||||
$gen = new Genres(['Settings' => null]);
|
||||
$meta_title = $title = 'Game Edit';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user