Would it be possible to have a namespace to be the root for a subdomain in rails 3?
Currently my routes are:
namespace :mobile do
resources :home
resources :profiles
root :to => "/mobile/home#index"
end
constraints subdomain: 'm' do
root :to => 'mobile/home#index'
resources :home
resources :profile
resources :messages
root :to => 'mobile/home#index'
end