Welcome Guest, Not a member yet? Register   Sign In
Remove Controller Name From URL - Solution
#2

[eluser]Denarius[/eluser]
If that's the target url style, wouldn't you be better off defining home as the default controller and creating the other methods as distinct controller classes i.e class About extends Controller etc? Possibly having more and smaller individual controller classes is a better way to go? I'm new to CodeIgniter so don't take what I'm saying as gospel.

Clever bit of routing though, I'm still struggling with that bit.


Messages In This Thread
Remove Controller Name From URL - Solution - by El Forum - 03-07-2010, 01:28 PM
Remove Controller Name From URL - Solution - by El Forum - 03-07-2010, 07:18 PM



Theme © iAndrew 2016 - Forum software by © MyBB