aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/routing.md
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2015-10-20 20:24:07 +0900
committeryui-knk <spiketeika@gmail.com>2015-10-20 20:24:07 +0900
commit666e2cc654423ed6b48ed8a1514e4a8ba7089169 (patch)
tree0734c85ef027d44632a01caa12abd4bcb1440e67 /guides/source/routing.md
parent9be4ea81846b016752467cb0459fc90e1143ebf3 (diff)
downloadrails-666e2cc654423ed6b48ed8a1514e4a8ba7089169.tar.gz
rails-666e2cc654423ed6b48ed8a1514e4a8ba7089169.tar.bz2
rails-666e2cc654423ed6b48ed8a1514e4a8ba7089169.zip
[ci skip] Replace "destroy` method" with `destroy` action`
Sure this is `destroy` method of PhotosController, but in this chapter these methods which mapped by the router are called "action". For example: ```ruby get '/patients/:id', to: 'patients#show' ``` is described to dispatch "controller's `show` action".
Diffstat (limited to 'guides/source/routing.md')
-rw-r--r--guides/source/routing.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/routing.md b/guides/source/routing.md
index 3175716a9c..245689932b 100644
--- a/guides/source/routing.md
+++ b/guides/source/routing.md
@@ -79,7 +79,7 @@ it asks the router to map it to a controller action. If the first matching route
resources :photos
```
-Rails would dispatch that request to the `destroy` method on the `photos` controller with `{ id: '17' }` in `params`.
+Rails would dispatch that request to the `destroy` action on the `photos` controller with `{ id: '17' }` in `params`.
### CRUD, Verbs, and Actions