resources(*resources, &block)
Instance Public methods
In Rails, a resourceful route provides a mapping between HTTP verbs and
URLs and controller actions. By convention, each action also maps to
particular CRUD operations in a database. A
single entry in the routing file, such as
resources :photos
creates seven different routes in your application, all mapping to the
Photos controller:
GET /photos
GET /photos/new
POST /photos
GET /photos/:id
GET /p