From 18bc8215e3ca487346c229a38ec00aae21735d16 Mon Sep 17 00:00:00 2001 From: huang Date: Fri, 15 Jan 2016 11:35:27 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=AF=E7=94=B1=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/routes.rb | 3 +++ 1 file changed, 3 insertions(+) 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