Skip to content

Commit

Permalink
Merge pull request #274 from abishekrsrikaanth/main
Browse files Browse the repository at this point in the history
Changing reference to Laravel docs without Laravel version
  • Loading branch information
freekmurze authored Mar 28, 2024
2 parents a765bdd + f577e80 commit b2304d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class CreateYourEloquentModelTable extends Migration

### Using slugs in routes

To use the generated slug in routes, remember to use Laravel's [implicit route model binding](https://laravel.com/docs/5.8/routing#implicit-binding):
To use the generated slug in routes, remember to use Laravel's [implicit route model binding](https://laravel.com/docs/routing#implicit-binding):

```php
namespace App;
Expand Down Expand Up @@ -371,8 +371,8 @@ class YourEloquentModel extends Model

#### Implicit route model binding

You can also use Laravels [implicit route model binding](https://laravel.com/docs/8.x/routing#implicit-binding) inside your controller to automatically resolve the model. To use this feature, make sure that the slug column matches the `routeNameKey`.
Currently, only some database types support JSON operations. Further information about which databases support JSON can be found in the [Laravel docs](https://laravel.com/docs/8.x/queries#json-where-clauses).
You can also use Laravels [implicit route model binding](https://laravel.com/docs/routing#implicit-binding) inside your controller to automatically resolve the model. To use this feature, make sure that the slug column matches the `routeNameKey`.
Currently, only some database types support JSON operations. Further information about which databases support JSON can be found in the [Laravel docs](https://laravel.com/docs/queries#json-where-clauses).

```php
namespace App;
Expand Down

0 comments on commit b2304d9

Please sign in to comment.