aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/action_controller_overview.md
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2014-01-03 14:37:04 -0800
committerXavier Noria <fxn@hashref.com>2014-01-03 14:37:04 -0800
commit77d18edf0dc3aa90438a72ac315de1b739827421 (patch)
tree87798a570fe7dd59b731896166ae3971f53ff018 /guides/source/action_controller_overview.md
parent88c3fd1ef1f3bbd4f8fdc15887cc382a287fbd10 (diff)
parent72bb3fc297a3548e6748867bfb55a077b7b7728c (diff)
downloadrails-77d18edf0dc3aa90438a72ac315de1b739827421.tar.gz
rails-77d18edf0dc3aa90438a72ac315de1b739827421.tar.bz2
rails-77d18edf0dc3aa90438a72ac315de1b739827421.zip
Merge pull request #13584 from tjschuck/cannot_cannot_be_can_not
Change all "can not"s to the correct "cannot"
Diffstat (limited to 'guides/source/action_controller_overview.md')
-rw-r--r--guides/source/action_controller_overview.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/action_controller_overview.md b/guides/source/action_controller_overview.md
index a67eba8f7c..f394daa6aa 100644
--- a/guides/source/action_controller_overview.md
+++ b/guides/source/action_controller_overview.md
@@ -675,7 +675,7 @@ end
Note that the filter in this case uses `send` because the `logged_in?` method is private and the filter is not run in the scope of the controller. This is not the recommended way to implement this particular filter, but in more simple cases it might be useful.
-The second way is to use a class (actually, any object that responds to the right methods will do) to handle the filtering. This is useful in cases that are more complex and can not be implemented in a readable and reusable way using the two other methods. As an example, you could rewrite the login filter again to use a class:
+The second way is to use a class (actually, any object that responds to the right methods will do) to handle the filtering. This is useful in cases that are more complex and cannot be implemented in a readable and reusable way using the two other methods. As an example, you could rewrite the login filter again to use a class:
```ruby
class ApplicationController < ActionController::Base