Replies: 1 comment
-
It depends on how the data is stored but if you have a category model this is sufficient I guess: Route::get('/articles/{category}', [ ArticleCategoryController::class, 'index' ]);
public function index (Category $category) {
$category->articles
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
imagine this...
More examples...
Specs...
Beta Was this translation helpful? Give feedback.
All reactions