diff options
author | Ryan Bigg <radarlistener@gmail.com> | 2009-05-04 14:08:30 +1000 |
---|---|---|
committer | Ryan Bigg <radarlistener@gmail.com> | 2009-05-04 14:08:30 +1000 |
commit | 13b4a9e8d7b3d8335ba96a5b408ee8e7a310bafc (patch) | |
tree | f14e59d77575955a555cd875c4946b69d2053b46 | |
parent | 80e161e647a504c89c64358cf2644ad18a3ba85e (diff) | |
download | rails-13b4a9e8d7b3d8335ba96a5b408ee8e7a310bafc.tar.gz rails-13b4a9e8d7b3d8335ba96a5b408ee8e7a310bafc.tar.bz2 rails-13b4a9e8d7b3d8335ba96a5b408ee8e7a310bafc.zip |
Use the word 'action' over 'method'... is clearer and helps when people are grepping the document for the word 'method'
-rw-r--r-- | railties/guides/source/routing.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/routing.textile b/railties/guides/source/routing.textile index e9adb4b308..173b889546 100644 --- a/railties/guides/source/routing.textile +++ b/railties/guides/source/routing.textile @@ -695,7 +695,7 @@ Regular routes need not use the +connect+ method. You can use any other name her map.logout '/logout', :controller => 'sessions', :action => 'destroy' </ruby> -This will do two things. First, requests to +/logout+ will be sent to the +destroy+ method of the +Sessions+ controller. Second, Rails will maintain the +logout_path+ and +logout_url+ helpers for use within your code. +This will do two things. First, requests to +/logout+ will be sent to the +destroy+ action of the +Sessions+ controller. Second, Rails will maintain the +logout_path+ and +logout_url+ helpers for use within your code. h4. Route Requirements |