14 lines
537 B
PHP
Executable File
14 lines
537 B
PHP
Executable File
<?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');
|
|
});
|