I have a controller name homes, I would add the line
map.resource :home
so I like to return a url like
/home/1, /home/2......etc
but why I open up my browser
http://127.0.0.1:3000/home/1
it appear the message like this:
No route matches "/home/1" with {:method=>:get}
so, what is wrong with me?