adrema/routes/web.php

15 lines
391 B
PHP

<?php
use App\Http\Controllers\HomeController;
use App\Initialize\InitializeController;
Route::group(['namespace' => 'App\\Http\\Controllers'], function() {
Auth::routes(['register' => false]);
});
Route::group(['middleware' => 'auth:web'], function () {
Route::get('/', HomeController::class)->name('home');
Route::resource('/initialize', InitializeController::class);
});