20
20
- [ Generate localized route URL's] ( #-generate-route-urls ) using the ` route() ` helper.
21
21
- [ Redirect to localized routes] ( #-redirect-to-routes ) using the ` redirect()->route() ` helper.
22
22
- [ Generate localized signed route URL's] ( #-generate-signed-route-urls ) .
23
- - [ Generate localized versions of the current URL] ( #-generate-localized-versions-of-the-current-url ) with our ` Route::localizedUrl() ` macro.
23
+ - [ Generate localized versions of the current URL] ( #%EF%B8%8F -generate-localized-versions-of-the-current-url ) with our ` Route::localizedUrl() ` macro.
24
24
- [ Automatically set the appropriate app locale] ( #%EF%B8%8F-use-middleware-to-update-app-locale ) using the middleware.
25
25
- Optionally [ detect and set the preferred locale in multiple sources] ( #%EF%B8%8F-use-localizer-to-detect-and-set-the-locale ) .
26
26
- Use localized route keys with [ route model binding] ( #-route-model-binding ) .
@@ -386,9 +386,9 @@ The `getSlug()` method is just for illustration, so you will need to implement t
386
386
387
387
### ✍🏻 Generate Signed Route URL's
388
388
389
- Generating a [ signed route URL] ( https://laravel.com/docs/5.8/ urls#signed-urls ) is just as easy.
389
+ Generating a [ signed route URL] ( https://laravel.com/docs/urls#signed-urls ) is just as easy.
390
390
391
- Pass it the route name, the nescessary parameters and you will get the URL for the current locale.
391
+ Pass it the route name, the necessary parameters and you will get the URL for the current locale.
392
392
393
393
``` php
394
394
$signedUrl = URL::signedRoute('reset.password', ['user' => $id], now()->addMinutes(30));
@@ -400,7 +400,7 @@ You can also generate a signed URL for a specific locale:
400
400
$signedUrl = URL::signedRoute($name, $parameters, $expiration, true, 'nl');
401
401
```
402
402
403
- Check out the [ Laravel docs] ( https://laravel.com/docs/5.8/ urls#signed-urls ) for more info on signed routes.
403
+ Check out the [ Laravel docs] ( https://laravel.com/docs/urls#signed-urls ) for more info on signed routes.
404
404
405
405
### 🌎 Translate Routes
406
406
0 commit comments