From 5e72734beed787eeaf0e27f9bd19f221b7433bbf Mon Sep 17 00:00:00 2001 From: ouyangxuhua Date: Fri, 22 Jan 2016 09:25:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A03=E4=B8=AAurl=E5=AE=9A?= =?UTF-8?q?=E5=88=B6=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/routes.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/routes.rb b/config/routes.rb index 3531f4b5f..3a4d2fb92 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -82,6 +82,10 @@ RedmineApp::Application.routes.draw do get '/', to: 'organizations#show', defaults: { id: 23 }, constraints: {subdomain: 'nubot'} get '/', to: 'organizations#show', defaults: { id: 1 }, constraints: {subdomain: 'team'} + get '/', to: 'users#show', defaults: {id: 7}, constraints: {subdomain: 'whm'} + get '/', to: 'users#show', defaults: {id: 5}, constraints: {subdomain: 'yg'} + get '/', to: 'users#show', defaults: {id:11}, constraints: {subdomain: 'wt'} + resources :org_member do member do