This is just cosmetic but still driving me nuts. I’ve created a controller for my Address object and try to lay out routes for it. However, Rails seems to interpret the last ‘s’ as plural and removes it from my paths, like this:
routes.rb:
resources :address
(note: this line is inside a namespace block called ‘admin’)
When I run rake routes I get this:
new_admin_addres
edit_admin_addres
… and so on. How do I get the extra ‘s’ in my paths?
resources :addresseswhich is the plural of address