How can i clear the inner resources route in a nested route

I have :
map.resources :users do |users|
user.resources :addressbooks
end
this provide me with url like ‘/users/1/addressbooks/1’ and ‘/
addressbooks/1’.
My problem is that how i’m able to clear the ‘/addressbooks/1’ route
and making it not to work? I only wanna the former to work.