1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 13:24:03 +00:00
laravel-tips/content/tips/you-can-show-a-link-to-the-previous-page-by-using-url-previous-in-a-blade-view.md
2021-11-12 18:43:31 +01:00

609 B

title tweet_id thread_slug author_username images created_at slug
You can show a link to the previous page by using url()->previous() in a Blade view 1459206737529958403 weekly-thread-2021-45 LarsKlopstra
https://pbs.twimg.com/media/FD52NI9XsAkjRrc.jpg
2021-11-12T17:09:31+00:00 you-can-show-a-link-to-the-previous-page-by-using-url-previous-in-a-blade-view

💡 Check if there's a previous URL when showing error pages instead of linking to static page!

It's incredibly useful if your marketing and app pages share the same error pages! It makes sure your users won't get lost :)