I don't do anything special. This default route setting should work. But
Portal::Application.routes.draw do |map|
map.root :controller => "portal", :action => "logout"
I am also not able to install rails_upgrade plugin due to some problems
with gem versions so I don't know if any other changes should be done to
controllers in order to work.