You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm trying to figure out the best way to return a 404 error from my product controller. This would happen when the product route matches but there is no product post matching the slug. I've looked through the documentation and some of the Lumberjack source code and haven't found a solution. What is the best way to return a 404 error from inside a controller?
The text was updated successfully, but these errors were encountered:
Hello, I'm trying to figure out the best way to return a 404 error from my product controller. This would happen when the product route matches but there is no product post matching the slug. I've looked through the documentation and some of the Lumberjack source code and haven't found a solution. What is the best way to return a 404 error from inside a controller?
The text was updated successfully, but these errors were encountered: