On Wed, Feb 4, 2009 at 12:01 PM, scottmotte <[email protected]> wrote: > > I think that means is actually recommend against though > because :subdomain is an array.
Which would make things slightly more complex if he needed to dynamically assign something based on the subdomain's value; but just looking for the presence of "admin" ought to be possible with a string match. (Though a regex match might be necessary instead of the single quotes I used.) I didn't test the tip I gave, but I pulled the syntax from Carl Lerche's slideshow, so if it doesn't work Carl should probably know about it: http://www.slideshare.net/carllerche/merb-pluming-the-router-presentation Have Fun, Steve Eley ([email protected]) ESCAPE POD - The Science Fiction Podcast Magazine http://www.escapepod.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
