private Method

InstanceMethods.run_after_filters(chain, index)

There's no documentation for this item.

Source Code

# File action_controller/filters.rb, line 741
def run_after_filters(chain, index)
  seen_after_filter = false

  while chain[index]
    filter, index = skip_excluded_filters(chain, index)
    break unless filter # end of call chain reached

    case filter.type
    when :after
      seen_after_filter = true
      filter.run(self)  # invoke after filter
    else
      # implementation error or someone has mucked with the filter chain
      raise ActionControllerError, "filter #{filter.inspect} was in the wrong place!" if seen_after_filter
    end

    index = index.next
  end

  index.next
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.