CourseWork/routes/web.php

15 lines
409 B
PHP
Raw Normal View History

2024-04-15 16:23:05 +04:00
<?php
2024-04-16 13:27:51 +04:00
use App\Http\Controllers\GradeController;
2024-04-17 10:11:31 +04:00
use App\Http\Controllers\SubjectController;
2024-04-17 13:02:44 +04:00
use App\Http\Controllers\UserController;
2024-04-15 16:23:05 +04:00
use Illuminate\Support\Facades\Route;
Route::get('/', function () {
2024-04-17 13:02:44 +04:00
return redirect()->route('grades.index');
2024-04-15 16:23:05 +04:00
});
2024-04-16 13:27:51 +04:00
Route::resource('grades', GradeController::class);
2024-04-17 10:11:31 +04:00
Route::resource('subjects', SubjectController::class);
2024-04-17 13:02:44 +04:00
Route::resource('users', UserController::class);