Welcome Guest, Not a member yet? Register   Sign In
uri routing to index()
#3

[eluser]-sek[/eluser]
Appreciate the help. My current solution is to create a browse function

Code:
function browse() {}

and get the parameter from

Code:
$this->uri->segment(3);

with

Code:
$route['friends'] = "friends/browse";

in routes to hide the existence of the browse function. I still do not know if this is compatible with the CI pagination library.

I wonder which method would fail more gracefully if someone forgot to specify the route? Depending on routing bugs me.


Messages In This Thread
uri routing to index() - by El Forum - 05-07-2008, 07:42 PM
uri routing to index() - by El Forum - 05-08-2008, 02:07 AM
uri routing to index() - by El Forum - 05-08-2008, 03:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB