ruby on rails - How do you get to have multiple root? -


so making application in rails, , require more 1 roots seen below

    root "post#index"     root "gaming#index" 

but allows me have 1 root. have solution?

if understand correctly want have different #root different cases, in case use constraints, or namespace #root

try out, can useful in case. http://guides.rubyonrails.org/routing.html#advanced-constraints


Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

how to receive file in java(servlet/jsp) -