you must name your route according to your controller's name. And both of them must be plural form
So the correct route for addresses is: resources :addresses
, knowing that your controller must be AddressesController
More info on routing: http://guides.rubyonrails.org/routing.html