aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-05-19 17:14:35 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-05-19 17:14:35 +0000
commit9b1fefbf542d09ecfc1c2d0101486250fe40b43c (patch)
tree38929c1a34f5f8f16fd7669ef26f307fb4e81355 /actionpack
parentdb2495cf7ea12ee8bdea5c634a004d4f97454667 (diff)
downloadrails-9b1fefbf542d09ecfc1c2d0101486250fe40b43c.tar.gz
rails-9b1fefbf542d09ecfc1c2d0101486250fe40b43c.tar.bz2
rails-9b1fefbf542d09ecfc1c2d0101486250fe40b43c.zip
Fixed doc #1291
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1315 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_controller/filters.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/filters.rb b/actionpack/lib/action_controller/filters.rb
index 7652d8803c..02c705a2b4 100644
--- a/actionpack/lib/action_controller/filters.rb
+++ b/actionpack/lib/action_controller/filters.rb
@@ -69,7 +69,7 @@ module ActionController #:nodoc:
# Or just as a quick test. It works like this:
#
# class WeblogController < ActionController::Base
- # before_filter { |controller| return false if controller.params["stop_action"] }
+ # before_filter { |controller| false if controller.params["stop_action"] }
# end
#
# As you can see, the block expects to be passed the controller after it has assigned the request to the internal variables.