On 2005-12-13, Ron Savage <[EMAIL PROTECTED]> wrote:
> On Mon, 12 Dec 2005 17:39:34 -0500, Timothy Appnel wrote:
>
> Hi Tim
>
>> first example. This way :year can be defined as 4 digits (\d{4})
>> and will let single parameters fall to another rule. Rails has such
>
> But what if I have a non-year value which is 4 digits?

Then you've designed an un-intuitive URL scheme.

 /blog/2004
 /blog/2003

One number is a year and the other isn't? 

You probably need to clarify one of the URLs:

 /blog/by_date/2004

 # perhaps a blog entry ID
 /blog/2003


    Mark

-- 
http://mark.stosberg.com/ 


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to