You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Linkable allows you to bind named routes directly to your Eloquent models.
Making calls to `route()` each time you need to generate a url can be cumbersome and makes your Blade files unreadable.
```php
route('route.name', ['id' => $model->id])
```
Instead with Linkable, you can use this syntax to generate a url:
Making calls to `route()` each time you need to generate a url can be cumbersome and makes your Blade files unreadable. Instead with Linkable, you can use this syntax to generate a url: