aboutsummaryrefslogtreecommitdiffstats
path: root/railties/doc/guides/source/actioncontroller_basics/filters.txt
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2008-11-04 18:14:29 +0100
committerDavid Heinemeier Hansson <david@loudthinking.com>2008-11-04 18:14:29 +0100
commita909eecbbd42e70a5bc0e099485f07dc64db5d38 (patch)
treea685d297c7f11fa2ea87a5dd69ad7052696532d8 /railties/doc/guides/source/actioncontroller_basics/filters.txt
parentb29f95ed9a4f09674a187b237acc143ac5f4ddde (diff)
parent18bf7b421d55c60029289edef1df409a58d021e4 (diff)
downloadrails-a909eecbbd42e70a5bc0e099485f07dc64db5d38.tar.gz
rails-a909eecbbd42e70a5bc0e099485f07dc64db5d38.tar.bz2
rails-a909eecbbd42e70a5bc0e099485f07dc64db5d38.zip
Dont log the _method attribute either. Its already available in the header
Diffstat (limited to 'railties/doc/guides/source/actioncontroller_basics/filters.txt')
-rw-r--r--railties/doc/guides/source/actioncontroller_basics/filters.txt2
1 files changed, 0 insertions, 2 deletions
diff --git a/railties/doc/guides/source/actioncontroller_basics/filters.txt b/railties/doc/guides/source/actioncontroller_basics/filters.txt
index a7b8d9727f..a6f688d144 100644
--- a/railties/doc/guides/source/actioncontroller_basics/filters.txt
+++ b/railties/doc/guides/source/actioncontroller_basics/filters.txt
@@ -55,8 +55,6 @@ Now, the LoginsController's "new" and "create" actions will work as before witho
In addition to the before filters, you can run filters after an action has run or both before and after. The after filter is similar to the before filter, but because the action has already been run it has access to the response data that's about to be sent to the client. Obviously, after filters can not stop the action from running. Around filters are responsible for running the action, but they can choose not to, which is the around filter's way of stopping it.
-TODO: Find a real example for an around filter
-
[source, ruby]
---------------------------------
# Example taken from the Rails API filter documentation: