# File lib/openshift-origin-controller/app/controllers/base_controller.rb, line 225
  def render_response(reply, format=false)
    if format
      respond_with(reply) do |fmt|
        fmt.xml { render :xml => reply, :status => reply.status }
        fmt.json { render :json => reply, :status => reply.status }
      end
    else
      respond_with reply, :status => reply.status
    end
  end