|
|
|
@ -2,8 +2,8 @@
|
|
|
|
|
|
|
|
|
|
use App\Http\Controllers\GeneralController;
|
|
|
|
|
use App\Http\Controllers\ProfileController;
|
|
|
|
|
use App\Http\Controllers\UserController;
|
|
|
|
|
use App\Http\Controllers\RoleController;
|
|
|
|
|
use App\Http\Controllers\UserController;
|
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
@ -35,8 +35,6 @@ Route::middleware(['auth'])->group(function () {
|
|
|
|
|
Route::resource('/roles', RoleController::class);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Route::middleware('auth')->group(function () {
|
|
|
|
|
Route::get('/profile', [ProfileController::class, 'edit'])->name('profile.edit');
|
|
|
|
|
Route::patch('/profile', [ProfileController::class, 'update'])->name('profile.update');
|
|
|
|
|