Commit 85c7b8e6 authored by 20194288-huannh's avatar 20194288-huannh

xu ly conflict

parents 00199750 eefe64ec
......@@ -21,7 +21,7 @@
Route::middleware(['auth'])->group(function() {
Route::resource('posts', PostController::class);
Route::prefix('posts')->name('posts.')->group(function() {
Route::put('ajax', [PostController::class, 'ajax'])->name('ajax');
Route::post('ajax', [PostController::class, 'ajax'])->name('ajax');
});
Route::get('/home', [App\Http\Controllers\HomeController::class, 'index'])->name('home');
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment