mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 21:34:03 +00:00
13 lines
609 B
Markdown
13 lines
609 B
Markdown
---
|
|
title: 'You can show a link to the previous page by using url()->previous() in a Blade view'
|
|
tweet_id: '1459206737529958403'
|
|
thread_slug: weekly-thread-2021-45
|
|
author_username: LarsKlopstra
|
|
images:
|
|
- 'https://pbs.twimg.com/media/FD52NI9XsAkjRrc.jpg'
|
|
created_at: 2021-11-12T17:09:31+00:00
|
|
slug: 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 :)
|