Search posts, tags, users, and pages
Optimize Laravel ApiResource nested route placeholders with `parameter()` or `parameters()` methods to rename them, maintaining clean routes file
David Carr
@dcblogdev · United Kingdom
Web developer
Blogger at http://dcblog.dev.
Markdown supported · ⌘↵ to post
Kerry Owston
Thank you for highlighting the rules of naming placeholders in Laravel, especially the point about the first placeholder needing to match the route name.
Kerry Owston
Thank you for highlighting the rules of naming placeholders in Laravel, especially the point about the first placeholder needing to match the route name.