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.
UPDATE: looks like it is deprecated according to this:
https://blog.engineyard.com/2010/the-lowdown-on-routes-in-rails-3/
I’m still trying to figure out how to update it though.
Thanks
HI,
What is the rails version you’re using ?
On 6 January 2015 at 13:11, Timothy Wi [email protected] wrote:
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