mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 00:01:21 +00:00
Change pointless 404 page usage where not needed, replace with redirects
This commit is contained in:
@@ -93,7 +93,7 @@ class ConsoleController extends BasePageController
|
||||
if ($cdata !== null) {
|
||||
$this->smarty->assign('catname', $cdata);
|
||||
} else {
|
||||
return response()->json(['message' => 'There are no categories set.'], 404);
|
||||
$this->smarty->assign('catname', 'All');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user