Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
tomschlick committed Sep 18, 2016
1 parent 93c9c69 commit 5385e52
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@
--------
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:
```php
$model->link()
```
Expand Down

0 comments on commit 5385e52

Please sign in to comment.