mirror of
https://github.com/cp6/my-idlers.git
synced 2024-11-16 23:42:32 +01:00
Removed dashboard redirect from routes
Removed dashboard redirect from routes
This commit is contained in:
parent
83500fa58e
commit
ea8c15d2d8
@ -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']);
|
||||||
|
Loading…
Reference in New Issue
Block a user