On Mar 22, 2011, at 11:12 AM, pbreit wrote: > Would there be any way to support something like: > > /$user/app/controller/function > > Where $user is available to controllers as some sort of arg? > > I could see your idea about re-formatting the URL to: > /app/controller/function/$user but am wondering if that will be hard to > manage?
I think that the only way to do it right now is by using the regex router to rewrite the URL, as above ($user should end up in request.args). I don't think it'd be all that hard to manage. You'd want to establish some rule for recognizing the case where the first element isn't a $user (say on initial login).

