Browse files

Use the word 'action' over 'method'... is clearer and helps when peop…

…le are grepping the document for the word 'method'
  • Loading branch information...
1 parent 80e161e commit 13b4a9e8d7b3d8335ba96a5b408ee8e7a310bafc @radar radar committed May 4, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/routing.textile
View
2 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

0 comments on commit 13b4a9e

Please sign in to comment.