Change pointless 404 page usage where not needed, replace with redirects

This commit is contained in:
DariusIII
2018-11-22 12:55:53 +01:00
parent cd72b44294
commit 8a82e49152
9 changed files with 16 additions and 14 deletions
+1 -1
View File
@@ -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');
}
}