module ActionController::Rendering
def _process_options(options) #:nodoc:
Process controller specific options, as status, content-type and location.
def _process_options(options) #:nodoc: status, content_type, location = options.values_at(:status, :content_type, :location) self.status = status if status self.content_type = content_type if content_type self.headers["Location"] = url_for(location) if location super end