Display custom 404 page if model cannot be found #14763
-
PackageOther Package Versionv3.2.122 How can we help you?Hello community, I currently have a use-case where I would like to view a custom view if a model cannot be found. At the moment the default Laravel 404 view is shown. Example I've tried several things but I couldn't get it working, I couldn't find anything in the docs as well. Things I've tried:
TDLR: What's the Filament way to render a custom view if a model can't be found using model route binding? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
#14769 (reply in thread) |
Beta Was this translation helpful? Give feedback.
#14769 (reply in thread)
You could use the same idea and show a custom page instead of a redirect