Add tag-by-slug posts endpoint for real tag pages
Deploy Backend / deploy (push) Successful in 2m43s
Deploy Backend / deploy (push) Successful in 2m43s
This commit is contained in:
1 parent
d4f41b9c2e
commit
21fa37af1f
3 files changed
+89
No files matched your search
@@ -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']);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user