On Tuesday, October 18, 2011 6:50:06 PM UTC-4, pepper_bg wrote: > > > Rather than providing links to /user/register and then redirecting to > > /register, why not just provide links directly to /register? You don't > have > > to route requests to register or to view the profile through the user > > function. > Then the default register/profile URLs will change (unless I do > routing magic and stuff). I really like how Auth ties together > internally, so if possible I'd like to keep everything it holds/ > generates (urls, settings, user references, etc.) as is.
If you're using auth.navbar(), then your method is the way to go because it generates the default set of links, but other than that, I'm not sure there is any benefit to routing through a single function (I may be forgetting something, though). Anthony

