adrema/routes/web.php

17 lines
479 B
PHP
Raw Normal View History

2020-04-10 20:32:12 +02:00
<?php
2020-06-02 23:45:25 +02:00
use App\Member\MemberController;
2020-04-12 00:26:44 +02:00
use App\Http\Controllers\HomeController;
use App\Initialize\InitializeController;
Route::group(['namespace' => 'App\\Http\\Controllers'], function() {
Auth::routes(['register' => false]);
});
2020-04-10 20:32:12 +02:00
Route::group(['middleware' => 'auth:web'], function () {
2020-04-12 00:26:44 +02:00
Route::get('/', HomeController::class)->name('home');
2020-06-02 22:43:40 +02:00
Route::resource('initialize', InitializeController::class);
2020-06-02 23:45:25 +02:00
Route::resource('member', MemberController::class);
2020-04-10 20:32:12 +02:00
});