middleware Locale use as global

This commit is contained in:
xiaomlove
2025-04-05 16:17:11 +07:00
parent 97dc956c20
commit 14767b1aca
7 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ Route::get('/', function () {
return redirect('index.php');
});
Route::group(['prefix' => 'web', 'middleware' => ['auth.nexus:nexus-web', 'locale']], function () {
Route::group(['prefix' => 'web', 'middleware' => ['auth.nexus:nexus-web']], function () {
Route::get('torrent-approval-page', [\App\Http\Controllers\TorrentController::class, 'approvalPage']);
Route::get('torrent-approval-logs', [\App\Http\Controllers\TorrentController::class, 'approvalLogs']);
Route::post('torrent-approval', [\App\Http\Controllers\TorrentController::class, 'approval']);