Welcome Guest, Not a member yet? Register   Sign In
Username for Controller
#2

[eluser]techgnome[/eluser]
I'd probably set it up so that the urls look like this:

/users/profile/username ... users is the controller, profile the method and the user name becomes the parameter passed to it.

but that's how I'd do it - mostly for simplicity... Another option would be to set it up like that, then maybe manipulate the htaccess so that when there is only one segment, it routes to the users/profile controller/method... *shrug*

-tg


Messages In This Thread
Username for Controller - by El Forum - 10-20-2010, 05:39 AM
Username for Controller - by El Forum - 10-20-2010, 07:26 AM
Username for Controller - by El Forum - 10-20-2010, 09:04 AM



Theme © iAndrew 2016 - Forum software by © MyBB