On Sat, Dec 20, 2008 at 11:42 AM, Wichert Akkerman <[email protected]> wrote:
>
> Previously ED209 wrote:
>>
>> I'm planning on moving my users' profile pages to:
>>
>> example.com/:username
>>
>> but there has been some discussion amongst fellow developers that this
>> might cause problems. I would have this route and subsequent routes as
>> the last ones defined in my array of routes defenitions so any static
>> routes would be matched first.
>
> What if at some point in the future you need a new static route and a
> user already registered with that username?

Well, that is where the Rails helpers' convention of /images,
/stylesheets, and /javascripts makes some sense, because that way you
only have to reserve a few prefixes.  You could also reserve 'static'
in case something else comes along that doesn't fit into these
categories.

-- 
Mike Orr <[email protected]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to