hiccup in route_to - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- 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 |