Welcome Guest, Not a member yet? Register   Sign In
route to default method if method not found
#1

the default method is called when a controller is called without a parameter but if a parameter exists and it is not a method in the controller then a 404 appears. is there a way in routes to always call a default method which would then decide what to do. i've tried it with eg index($p0=0,$p1=0) but no luck.
thanks, Bill
Reply


Messages In This Thread
route to default method if method not found - by badger - 06-11-2020, 01:48 PM



Theme © iAndrew 2016 - Forum software by © MyBB