diff --git a/config/routes.rb b/config/routes.rb index 6afd5e011..ed1913c28 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -76,6 +76,9 @@ RedmineApp::Application.routes.draw do constraints(Subdomain.new) do get '/', to: 'organizations#show' end + get '/', to: 'organizations#show', defaults: { id: 5 }, constraints: {subdomain: 'micros'} + get '/', to: 'organizations#show', defaults: { id: 23 }, constraints: {subdomain: 'nubot'} + get '/', to: 'organizations#show', defaults: { id: 1 }, constraints: {subdomain: 'team'} resources :org_member do member do