Removed dashboard redirect from routes

Removed dashboard redirect from routes
This commit is contained in:
cp6 2022-10-13 16:04:50 +11:00
parent 83500fa58e
commit ea8c15d2d8

View File

@ -30,11 +30,6 @@ use Illuminate\Support\Facades\Route;
Route::get('/', 'App\Http\Controllers\HomeController@index')->name('/'); Route::get('/', 'App\Http\Controllers\HomeController@index')->name('/');
Route::get('dashboard', function () {
return redirect('/');
});
require __DIR__ . '/auth.php'; require __DIR__ . '/auth.php';
Route::resource('account', AccountController::class)->middleware(['auth']); Route::resource('account', AccountController::class)->middleware(['auth']);
@ -61,7 +56,6 @@ Route::get('servers/public', 'App\Http\Controllers\ServerController@showServersP
Route::resource('servers', ServerController::class)->middleware(['auth']); Route::resource('servers', ServerController::class)->middleware(['auth']);
Route::resource('settings', SettingsController::class)->middleware(['auth']); Route::resource('settings', SettingsController::class)->middleware(['auth']);
Route::resource('seedboxes', SeedBoxesController::class)->middleware(['auth']); Route::resource('seedboxes', SeedBoxesController::class)->middleware(['auth']);