mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Fixed doc #1291
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1315 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user