# File lib/deltacloud/helpers/application_helper.rb, line 91
  def show(model)
    @benchmark = Benchmark.measure do
      @element = driver.send(model, credentials, { :id => params[:id]} )
    end
    instance_variable_set("@#{model}", @element)
    if @element
      respond_to do |format|
        format.html { haml "#{model.to_s.pluralize}/show""#{model.to_s.pluralize}/show" }
        format.xml { haml "#{model.to_s.pluralize}/show""#{model.to_s.pluralize}/show" }
        format.json { convert_to_json(model, @element) }
      end
    else
        report_error(404, 'not_found')
    end
  end