mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 05:14:04 +00:00
557 B
557 B
| title | tweet_id | thread_slug | author_username | images | created_at | slug | |
|---|---|---|---|---|---|---|---|
| You can explicitly bind objects to routes. You don't have to use route model binding only. Custom objects work perfectly well too | 1308140146374696962 | 1-rt-1-tip | samuelstancl |
|
2020-09-21T20:24:49+00:00 | you-can-explicitly-bind-objects-to-routes-you-dont-have-to-use-route-model-binding-only-custom-objects-work-perfectly-well-too |
This example is from Tenancy v2 when we had an ActiveRecord-style custom Tenant object.