module ActionController::Rendering

def _normalize_args(action = nil, options = {}, &blk)

Normalize arguments by catching blocks and setting them on :update.
def _normalize_args(action = nil, options = {}, &blk)
  options = super
  options[:update] = blk if block_given?
  options
end