Welcome Guest, Not a member yet? Register   Sign In
MVC and URLs
#1

[eluser]venksster[/eluser]
HI all,

Well, this might be a n00b question, but well, i AM a n00b as far as CI and MVC are concerned Smile

SO Im trying to design this new app im writing and I was writing down the URLS I would like the users to use:

If I want the users to access their profile pages by:

http://domain.com/users/$uid,

How do I do that, since 'users' would be the controller and $uid will be the function and no args. Currently I would need to revise that to something like

http://domain.com/explore/users/$uid

Is there a way to get around this and be able to use the first URL?

Thanks in advance!


Messages In This Thread
MVC and URLs - by El Forum - 11-09-2008, 03:03 PM
MVC and URLs - by El Forum - 11-09-2008, 05:56 PM
MVC and URLs - by El Forum - 11-09-2008, 06:45 PM
MVC and URLs - by El Forum - 11-09-2008, 07:01 PM
MVC and URLs - by El Forum - 11-09-2008, 07:30 PM
MVC and URLs - by El Forum - 11-09-2008, 07:46 PM
MVC and URLs - by El Forum - 11-09-2008, 09:45 PM
MVC and URLs - by El Forum - 11-10-2008, 01:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB