Hello,
Is this code deprecated?
map.connect ''., :controller => "main", :action => "welcome"
I am trying to get it to work in the routes.rb file but I don't have any luck.
Thanks
Hello,
Is this code deprecated?
map.connect ''., :controller => "main", :action => "welcome"
I am trying to get it to work in the routes.rb file but I don't have any luck.
Thanks
HI,
What is the rails version you’re using ?
Rails 4.2.0.rc3
Please quote the previous message when replying so that people know what you are talking about.
map.connect is no more, have a look at the rails guide on routing to see how to do it.
If you are following a tutorial then find a more up to date one. railstutorial.org is good and is free to use online.
Colin