first init
This commit is contained in:
13
routes/web.php
Executable file
13
routes/web.php
Executable file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
use App\Http\Controllers\RoutingController;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
require __DIR__ . '/auth.php';
|
||||
|
||||
Route::group(['prefix' => '/', 'middleware' => 'auth'], function () {
|
||||
Route::get('', [RoutingController::class, 'index'])->name('root');
|
||||
Route::get('{first}/{second}/{third}', [RoutingController::class, 'thirdLevel'])->name('third');
|
||||
Route::get('{first}/{second}', [RoutingController::class, 'secondLevel'])->name('second');
|
||||
Route::get('{any}', [RoutingController::class, 'root'])->name('any');
|
||||
});
|
||||
Reference in New Issue
Block a user