mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05: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:
parent
db2495cf7e
commit
9b1fefbf54
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ module ActionController #:nodoc:
|
||||||
# Or just as a quick test. It works like this:
|
# Or just as a quick test. It works like this:
|
||||||
#
|
#
|
||||||
# class WeblogController < ActionController::Base
|
# class WeblogController < ActionController::Base
|
||||||
# before_filter { |controller| return false if controller.params["stop_action"] }
|
# before_filter { |controller| false if controller.params["stop_action"] }
|
||||||
# end
|
# end
|
||||||
#
|
#
|
||||||
# As you can see, the block expects to be passed the controller after it has assigned the request to the internal variables.
|
# As you can see, the block expects to be passed the controller after it has assigned the request to the internal variables.
|
||||||
|
|
Loading…
Reference in a new issue