confusing singleton resource

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?

map.resource is for model

if you have a model named: home

then you must use:

map.resources :home

and generate a controller named: homes

I addd these code into entries show view