Add tag-by-slug posts endpoint for real tag pages
Deploy Backend / deploy (push) Successful in 2m43s

This commit is contained in:
Parsa Aghayi committed 2026-10-02 06:48:53 -04:00
1 parent d4f41b9c2e
commit 21fa37af1f
3 files changed
+89

No files matched your search

+1
View File
@@ -63,6 +63,7 @@ Route::middleware('throttle:60,1')->group(function () {
Route::get('categories/{slug}/posts', [CategoryController::class, 'getCategoryWithPosts']);
Route::get('tags', [TagController::class, 'index']);
Route::get('tags/by-slug/{slug}/posts', [TagController::class, 'getTagWithPosts']);
Route::get('tags/{id}', [TagController::class, 'show']);
});
});