# File lib/deltacloud/helpers/application_helper.rb, line 164
  def link_to_format(format)
    return '' unless request.env['REQUEST_URI']
    uri = request.env['REQUEST_URI']
    return if uri.include?('format=')
    if uri.include?('?')
      uri+="&format=#{format}"
    else
      uri+="?format=#{format}"
    end
    '<a data-ajax="false" data-icon="grid" href="%s">%s</a>' % [uri, "#{format}".upcase]
  end