Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
error in map.connect
Varun Goel
1/28/2008 4:27:00 PM
hi all,
I wanna run my welcome controller after typing just
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 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
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
error in map.connect
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password