Have and old rails 3 app with a routes.rb like this
RailsAppli::Application.routes.draw do
root :to => "landing#pos", :constraints => { :host => "pos.com.ar" }
root :to => "landing#desa", :constraints => { :host => "desa.com.ar" }
root :to => "landing#plan", :constraints => { :host => "dise.com.ar" }
thats work fine but i upgraded to rails 4 and
Invalid route name, already in use: 'root' (ArgumentError)
Whats the problem.
Thanks.