4 months ago

404 page instead of {METHOD} not supported for this route

Posted 4 months ago by Cytotoxic

How can I get the routes to send the user to the standard 404 page if they access a path that is not a defined route. I am getting "{METHOD} not supported for this route" while in debug mode and without debug mode it just says "Whoops, looks like something went wrong."

For instance accessing a POST only route via the browser GET I want to send to a 404 page vs this error message.


Please sign in or create an account to participate in this conversation.