Help with routes - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Help with routes (/showthread.php?tid=7800) Pages:
1
2
|
Help with routes - El Forum - 04-23-2008 [eluser]wiredesignz[/eluser] _remap() is still passed the controller method by the router, but this was actually the fix for your first problem. Help with routes - El Forum - 04-23-2008 [eluser]louis w[/eluser] @mironcho: No worries, I missed it myself on the paste too. Code: $route['admin/(.*)'] = "admin/$1"; This works for /admin/foo requests. I guess I will just use this one instead of the more compact. Help with routes - El Forum - 04-23-2008 [eluser]louis w[/eluser] NEVERMIND! They both work. I do not know why it wasn't working for me before. Thanks for the help. |