method

verify_action

rails latest stable - Class: ActionController::Verification

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

verify_action(options)
private

No documentation available.

# File actionpack/lib/action_controller/verification.rb, line 90
    def verify_action(options) #:nodoc:
      if prereqs_invalid?(options)
        flash.update(options[:add_flash])              if options[:add_flash]
        response.headers.merge!(options[:add_headers]) if options[:add_headers]
        apply_remaining_actions(options)               unless performed?
      end
    end