CodeIgniter Forums
hiccup in route_to - Printable Version

+- CodeIgniter Forums (
+-- Forum: CodeIgniter 4 (
+--- Forum: CodeIgniter 4 Support (
+--- Thread: hiccup in route_to (/showthread.php?tid=79891)

hiccup in route_to - badger - 08-10-2021

not a bug, just a refinement or suggestion. if $to in route_to($to, ...) happens to work out as blank, RouteCollection.php line 1236 throws an empty needle exception whereas it might be nicer for it to return the default controller