module ActionController::Rendering

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

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