路由冲突
This commit is contained in:
parent
c6357181c4
commit
18bc8215e3
|
@ -76,6 +76,9 @@ RedmineApp::Application.routes.draw do
|
||||||
constraints(Subdomain.new) do
|
constraints(Subdomain.new) do
|
||||||
get '/', to: 'organizations#show'
|
get '/', to: 'organizations#show'
|
||||||
end
|
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
|
resources :org_member do
|
||||||
member do
|
member do
|
||||||
|
|
Loading…
Reference in New Issue