Clearing your router of comments

This commit is contained in:
2022-05-19 13:22:01 +02:00
parent ecbb66b843
commit 4b5e3b81bc
3 changed files with 5 additions and 37 deletions

View File

@@ -1,17 +1,8 @@
<?php
use Illuminate\Support\Facades\Route;
declare(strict_types=1);
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/
use Illuminate\Support\Facades\Route;
Route::name('admin.')->group(function () {
Route::namespace('Dashboard')->middleware('auth')->group(function () {
@@ -50,6 +41,7 @@ Route::name('admin.')->group(function () {
->name('destroy');
});
});
Route::name('auth.')->namespace('Auth')->group(function () {
Route::get('login', 'LoginController@login')
->name('login');