how to add a root in to a namespace in routes.rb ?
we can add root in routes.rb like map.root :products
suppose if it is a namespace then how to add root to it?
map.namespace(:admin) do |admin| admin.root :products # this is not working admin.resources :products end
any idea?
by (S&G-typeH) #---Yes t|-|eRe is No LoGiC iN t|-|e Life---#