17 lines
517 B
PHP
17 lines
517 B
PHP
<?php
|
|
|
|
use App\Http\Controllers\GradeController;
|
|
use App\Http\Controllers\StudentController;
|
|
use App\Http\Controllers\SubjectController;
|
|
use App\Http\Controllers\TeacherController;
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
Route::get('/', function () {
|
|
return redirect()->route('grades.index');
|
|
});
|
|
|
|
Route::resource('grades', GradeController::class);
|
|
Route::resource('subjects', SubjectController::class);
|
|
Route::resource('students', StudentController::class);
|
|
Route::resource('teachers', TeacherController::class);
|