1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 05:14:04 +00:00

Change 2021-01 to 2022-01

This commit is contained in:
lukinovec 2022-01-07 17:49:46 +01:00
parent d1baa50b87
commit 3f8062e713
21 changed files with 43 additions and 43 deletions

View file

@ -1,7 +1,7 @@
---
title: 'You can supply default values for route parameters'
tweet_id: '1479467942039285762'
thread_slug: weekly-thread-2021-01
thread_slug: weekly-thread-2022-01
author_username: ryangjchandler
images:
- 'https://pbs.twimg.com/media/FIWa8DxXMAIW7Tz.jpg'
@ -10,4 +10,4 @@ slug: you-can-supply-default-values-for-route-parameters
---
🔥 Did you know that you can supply default values for route parameters in @laravelphp?
In the screenshot below, we use the current user's account as the default value for `{account}`. This means we don't have to provide it when generating the `users.index` route.
In the screenshot below, we use the current user's account as the default value for `{account}`. This means we don't have to provide it when generating the `users.index` route.