On 24.01.2009, at 4:12, Nicholas Orr wrote:

> You have to specify a tld length don't you?


I guess the problem with the router is that it just sends message you  
passed as Symbol to request object.

Request#subdomain takes optional argument (tld length) but there is no  
way to use it from routing "rule". That's probably
what is meant here.

A possible solution is to at least make it possible to configure  
default length in Merb::Config, because right now it is
hardcoded:

def subdomains(tld_length = 1)

should be

def subdomains(tld_length = Merb::Config[:default_tld_length])

or something

MK


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" 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/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to