mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 02:01:33 +00:00
Add ConsoleController
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
2018-04-05 DariusIII
|
||||
* Chg: Add ConsoleController
|
||||
* Chg: Update handling of requests for nzb files
|
||||
2018-04-04 DariusIII
|
||||
* Chg: Add RSS controller and route
|
||||
|
||||
@@ -0,0 +1,113 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Models\Category;
|
||||
use Blacklight\Console;
|
||||
use Blacklight\Genres;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class ConsoleController extends BasePageController
|
||||
{
|
||||
/**
|
||||
* @param \Illuminate\Http\Request $request
|
||||
* @throws \Exception
|
||||
*/
|
||||
public function show(Request $request)
|
||||
{
|
||||
$this->setPrefs();
|
||||
$console = new Console(['Settings' => $this->settings]);
|
||||
$gen = new Genres(['Settings' => $this->settings]);
|
||||
|
||||
$concats = Category::getChildren(Category::GAME_ROOT);
|
||||
$ctmp = [];
|
||||
foreach ($concats as $ccat) {
|
||||
$ctmp[$ccat['id']] = $ccat;
|
||||
}
|
||||
$category = Category::query()->where('id', '=', Category::GAME_ROOT)->first();
|
||||
|
||||
$catarray = [];
|
||||
$catarray[] = $category;
|
||||
|
||||
$this->smarty->assign('catlist', $ctmp);
|
||||
$this->smarty->assign('category', $category->title);
|
||||
|
||||
$offset = ($request->has('offset') && ctype_digit($request->input('offset'))) ? $request->input('offset') : 0;
|
||||
$ordering = $console->getConsoleOrdering();
|
||||
$orderby = $request->has('ob') && \in_array($request->input('ob'), $ordering, false) ? $request->input('ob') : '';
|
||||
|
||||
$consoles = [];
|
||||
$results = $console->getConsoleRange($catarray, $orderby, $this->userdata['categoryexclusions']);
|
||||
|
||||
$maxwords = 50;
|
||||
foreach ($results as $result) {
|
||||
if (! empty($result['review'])) {
|
||||
$words = explode(' ', $result['review']);
|
||||
if (\count($words) > $maxwords) {
|
||||
$newwords = \array_slice($words, 0, $maxwords);
|
||||
$result['review'] = implode(' ', $newwords).'...';
|
||||
}
|
||||
}
|
||||
$consoles[] = $result;
|
||||
}
|
||||
|
||||
$platform = ($request->has('platform') && ! empty($request->input('platform'))) ? stripslashes($request->input('platform')) : '';
|
||||
$this->smarty->assign('platform', $platform);
|
||||
|
||||
$title = ($request->has('title') && ! empty($request->input('title'))) ? stripslashes($request->input('title')) : '';
|
||||
$this->smarty->assign('title', $title);
|
||||
|
||||
$genres = $gen->getGenres(Genres::CONSOLE_TYPE, true);
|
||||
$tmpgnr = [];
|
||||
foreach ($genres as $gn) {
|
||||
$tmpgnr[$gn['id']] = $gn['title'];
|
||||
}
|
||||
$genre = ($request->has('genre') && array_key_exists($request->input('genre'), $tmpgnr)) ? $request->input('genre') : '';
|
||||
$this->smarty->assign('genres', $genres);
|
||||
$this->smarty->assign('genre', $genre);
|
||||
|
||||
$browseby_link = '&title='.$title.'&platform='.$platform;
|
||||
|
||||
$this->smarty->assign('pagertotalitems', $results[0]['_totalcount'] ?? 0);
|
||||
$this->smarty->assign('pageroffset', $offset);
|
||||
$this->smarty->assign('pageritemsperpage', config('nntmux.items_per_cover_page'));
|
||||
$this->smarty->assign('pagerquerybase', WWW_TOP.'/console?t='.$category.$browseby_link.'&ob='.$orderby.'&offset=');
|
||||
$this->smarty->assign('pagerquerysuffix', '#results');
|
||||
|
||||
$thisr = $this->smarty->fetch('pager.tpl');
|
||||
$this->smarty->assign('pager', $thisr);
|
||||
|
||||
if ((int) $category === -1) {
|
||||
$this->smarty->assign('catname', 'All');
|
||||
} else {
|
||||
$cdata = Category::find($category);
|
||||
if ($cdata) {
|
||||
$this->smarty->assign('catname', $cdata->parent !== null ? $cdata->parent->title.' > '.$cdata->title : $cdata->title);
|
||||
} else {
|
||||
$this->show404();
|
||||
}
|
||||
}
|
||||
|
||||
foreach ($ordering as $ordertype) {
|
||||
$this->smarty->assign('orderby'.$ordertype, WWW_TOP.'/console?t='.$category.$browseby_link.'&ob='.$ordertype.'&offset=0');
|
||||
}
|
||||
|
||||
$this->smarty->assign('results', $consoles);
|
||||
|
||||
$meta_title = 'Browse Console';
|
||||
$meta_keywords = 'browse,nzb,console,games,description,details';
|
||||
$meta_description = 'Browse for Console Games';
|
||||
$content = $this->smarty->fetch('console.tpl');
|
||||
|
||||
$this->smarty->assign(
|
||||
[
|
||||
'content' => $content,
|
||||
'meta_title' => $meta_title,
|
||||
'meta_keywords' => $meta_keywords,
|
||||
'meta_description' => $meta_description,
|
||||
]
|
||||
);
|
||||
|
||||
$this->pagerender();
|
||||
}
|
||||
}
|
||||
@@ -23,7 +23,7 @@
|
||||
<div class="col-md-8">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="square-all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
@@ -174,7 +174,7 @@
|
||||
<form id="nzb_multi_operations_form" action="get">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="square-all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<div class="col-md-8">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="square-all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
@@ -183,7 +183,7 @@
|
||||
<div class="col-md-8">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="square-all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<div class="col-md-8">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="square-all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
@@ -188,7 +188,7 @@
|
||||
<div class="col-md-8">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="square-all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<div class="col-md-8">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="square-all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
@@ -319,7 +319,7 @@
|
||||
<div class="col-md-8">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="square-all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<div class="col-md-8">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="square-all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
@@ -174,7 +174,7 @@
|
||||
<div class="col-md-8">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="square-all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<div class="col-md-8">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="square-all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
@@ -361,7 +361,7 @@
|
||||
<div class="col-md-8">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="nzb_check_all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<div class="col-md-8">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a><br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<button type="button"
|
||||
@@ -200,7 +200,7 @@
|
||||
<form id="nzb_multi_operations_form" action="get">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a><br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<button type="button"
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<div class="col-md-8">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a><br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<button type="button"
|
||||
@@ -204,7 +204,7 @@
|
||||
<div class="col-md-8">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a><br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<button type="button"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<div class="col-md-8">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a><br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<button type="button"
|
||||
@@ -212,7 +212,7 @@
|
||||
<div class="col-md-8">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a><br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<button type="button"
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<div class="col-md-8">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a><br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<button type="button"
|
||||
@@ -353,7 +353,7 @@
|
||||
<div class="col-md-8">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a>
|
||||
<br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<div class="col-md-8">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a><br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<button type="button"
|
||||
@@ -197,7 +197,7 @@
|
||||
<div class="col-md-8">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a><br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<button type="button"
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<div class="col-md-8">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a><br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<button type="button"
|
||||
@@ -408,7 +408,7 @@
|
||||
<div class="col-md-8">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a><br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<button type="button"
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<div class="col-md-8">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="square-all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
@@ -177,7 +177,7 @@
|
||||
<form id="nzb_multi_operations_form" action="get">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="square-all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<div class="col-md-8">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="square-all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
@@ -184,7 +184,7 @@
|
||||
<div class="col-md-8">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="square-all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<div class="col-md-8">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="square-all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
@@ -192,7 +192,7 @@
|
||||
<div class="col-md-8">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="square-all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<div class="col-md-8">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="square-all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
@@ -319,7 +319,7 @@
|
||||
<div class="col-md-8">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="square-all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<div class="col-md-8">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="square-all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
@@ -177,7 +177,7 @@
|
||||
<div class="col-md-8">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="square-all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<div class="col-md-8">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="square-all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
@@ -367,7 +367,7 @@
|
||||
<div class="col-md-8">
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
href="{$smarty.const.WWW_TOP}/browse/{$category->title}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="square-all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
|
||||
+1
-3
@@ -64,9 +64,7 @@ Route::get('apihelp', 'ApiHelpController@index');
|
||||
|
||||
Route::get('logout', 'Auth\LoginController@logout')->name('logout');
|
||||
|
||||
Route::get('/console', function () {
|
||||
redirect('/console');
|
||||
})->middleware('auth');
|
||||
Route::get('console', 'ConsoleController@show');
|
||||
|
||||
Route::get('/games', function () {
|
||||
redirect('/games');
|
||||
|
||||
Reference in New Issue
Block a user