Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] route only one controller
#3

[eluser]predat0r[/eluser]
[quote author="bubbafoley" date="1308608801"]
Code:
$route['posts'] = "site/posts";

of if you want to route more than one

Code:
$route['(foo|bar|baz)'] = "site/$1";
[/quote]

Ok, so i take all my methods and write into one line separated with a | sign. Great, thanks


Messages In This Thread
[SOLVED] route only one controller - by El Forum - 06-19-2011, 04:17 AM
[SOLVED] route only one controller - by El Forum - 06-20-2011, 11:26 AM
[SOLVED] route only one controller - by El Forum - 06-20-2011, 11:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB