1. 1 Xây dựng giao diện backend (laracasts/flash) (ok)

Route::group(['prefix' => 'admin', 'as' => 'backend.', 'middleware' => ['auth']], function () {
/**
* Backend Dashboard
* Namespaces indicate folder structure.
*/
Route::get('/', [BackendController::class, 'index'])->name('home');
Route::get('dashboard', [BackendController::class, 'index'])->name('dashboard');
Route::get("settings", [SettingController::class, 'index'])->name("settings");
Route::post("settings", [SettingController::class, 'store'])->name("settings.store");
});Last updated