Created
April 6, 2010 10:23
-
-
Save railsbob/357443 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# We want the account namespace routes available only if subdomains are specified | |
constraints(:subdomain => /[A-Za-z0-9]/) do | |
namespace :account do | |
resources :users | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment