Merge pull request #21177 from brooksreese/single_crud_operation

[ci skip] Note that each action maps to a specific CRUD operation
This commit is contained in:
Claudio B. 2015-08-09 11:12:03 -07:00
commit 644c4efdc9

@ -83,7 +83,9 @@ Rails would dispatch that request to the `destroy` method on the `photos` contro
### CRUD, Verbs, and Actions
In Rails, a resourceful route provides a mapping between HTTP verbs and URLs to controller actions. By convention, each action also maps to particular CRUD operations in a database. A single entry in the routing file, such as:
In Rails, a resourceful route provides a mapping between HTTP verbs and URLs to
controller actions. By convention, each action also maps to a specific CRUD
operation in a database. A single entry in the routing file, such as:
```ruby
resources :photos