Be careful if you're not scoping your route model bindings
- ·
- Telegram
- ·
- Newsletter
I've caught myself writing this security bug many times in controllers, making the assumption that Laravel will retrieve child route bound models by the parent model by default. Be careful if you're not scoping your route model bindings!