Created
May 2, 2011 15:44
-
-
Save toamitkumar/951803 to your computer and use it in GitHub Desktop.
Controller callbacks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ rails console | |
Loading development environment (Rails 3.0.6) | |
ruby-1.8.7-p334 :001 > class; MyTestController < ApplicationController; end | |
ruby-1.8.7-p334 :003 > MyTestController._process_action_callbacks.map{|c| c.filter}.compact | |
=> [:verify_authenticity_token, :authenticate_user!, :first_login?, :secure_from_admin?, :require_current_client] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment