From 5385e52b065b81d786e43590cdb74e3f3d6da817 Mon Sep 17 00:00:00 2001 From: Tom Schlick Date: Sun, 18 Sep 2016 00:21:55 -0400 Subject: [PATCH] more --- README.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/README.md b/README.md index b71a8f5..893e09a 100644 --- a/README.md +++ b/README.md @@ -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() ```