Commit 2e3d938e authored by TTS Tran Viet Anh's avatar TTS Tran Viet Anh

fix route SEO friendly

parent ec549257
......@@ -18,6 +18,6 @@
Route::controller(HomeController::class)->group(function () {
Route::get('/', 'index')->name('home');
Route::get('/productsAjax', 'getProductsAjax')->name('productsAjax');
Route::get('/san_pham/{slug}', 'getProductsByCategory')->name('productByCategory');
Route::get('/bai_viet/{slug}', 'getPostsByCategory')->name('postByCategory');
Route::get('/san-pham/{slug}', 'getProductsByCategory')->name('productByCategory');
Route::get('/bai-viet/{slug}', 'getPostsByCategory')->name('postByCategory');
});
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