Let\'s say that I have a controller named
pages
and there is a method
slug_on_the_fly
public functi
Use the 404 override reserved route controller/method. If a valid controller/route doesn't exist, this method will be called. Works great as a catch-all.