# Error in map.connect

**URL:** <https://www.ruby-forum.com/t/error-in-map-connect/127366>\
**Category:** Ruby\
**Created:** [January 28, 2008, 5:27pm UTC](https://www.ruby-forum.com/t/error-in-map-connect/127366 "2008-01-28T17:27:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![varunkumargoel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/ed8c4c/32.png) [@varunkumargoel](https://www.ruby-forum.com/u/varunkumargoel)\
**Post date:** [January 28, 2008, 5:27pm UTC](https://www.ruby-forum.com/t/error-in-map-connect/127366/1 "2008-01-28T17:27:09Z")

</div>

hi all,  
I wanna run my welcome controller after typing just  
[http://localhost:3000](http://localhost:3000) and for that i made route.rb file like  
ActionController::Routing::Routes.draw do |map|  
map.connect ‘’, :controller =\> “welcome”

# Allow downloading Web Service WSDL as a file with an extension

# instead of a file named ‘wsdl’

map.connect ‘:controller/service.wsdl’, :action =\> ‘wsdl’

# Install the default route as the lowest priority.

map.connect ‘:controller/:action/:id.:format’  
map.connect ‘:controller/:action/:id’  
end  
but when i typed [http://localhost:3000](http://localhost:3000) it’s showing me the webrick  
server page.  
I made right changes or i have to made some other change .  
Please reply soon.  
Thanks Varun
