Welcome Guest, Not a member yet? Register   Sign In
Routes[SOLVED]
#4

[eluser]Simian Studios[/eluser]
Hi Ivar

Without knowing anything else about your app it's hard to decide the best course of action, but unless you have loads of other actions you want access to, a solution would be to just use config/routes.php to do the work for you.

e.g:

Code:
// define all other actions first
$route['example'] = "example/action";

// then this one will mop up any others
$route['(.*?)'] = "main/var/$1";


Messages In This Thread
Routes[SOLVED] - by El Forum - 06-04-2010, 05:26 AM
Routes[SOLVED] - by El Forum - 06-04-2010, 05:36 AM
Routes[SOLVED] - by El Forum - 06-04-2010, 06:38 AM
Routes[SOLVED] - by El Forum - 06-04-2010, 06:45 AM
Routes[SOLVED] - by El Forum - 06-04-2010, 07:54 AM
Routes[SOLVED] - by El Forum - 06-04-2010, 08:07 AM
Routes[SOLVED] - by El Forum - 06-04-2010, 08:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB