lib/action_controller/callbacks.rb
# Returns true if it should run on a specific action
Returns true if it should run on a specific action
Returns true if it should run on a specific action
def match?(action)
        if @options[:only]
          @options[:only].include? action.to_sym
        else
          true
        end
      end
def match? ( action ) if @options [ :only ] @options [ :only ] . include? action . to_sym else true end end
Returns true if it should run on a specific action
Returns true if it should run on a specific action
action