Welcome Guest, Not a member yet? Register   Sign In
dealing with the default route
#1

[eluser]nZac[/eluser]
I have this in my routes folder
Code:
$route['default_controller'] = "pages";

$route['/(:any)'] = "pages/$1";

The second one is what I have a question with. Is it possible to take the URI and eliminate the class name for the default controller?

I looked into the user guide and did a couple of searches on the forum but didn't find anything.

Cheers,
Nick
#2

[eluser]nZac[/eluser]
Anyone have an idea?




Theme © iAndrew 2016 - Forum software by © MyBB