1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

document handle_unverified_request method

This commit is contained in:
Vijay Dev 2011-07-02 21:18:46 +05:30
parent 007214cfb9
commit 2949e30a05

View file

@ -78,6 +78,8 @@ module ActionController #:nodoc:
end
end
# This is the method that defines the application behaviour when a request is found to be unverified.
# By default, \Rails resets the session when it finds an unverified request.
def handle_unverified_request
reset_session
end