get root path from config in routes.rb