Sha256: 5326792b67a580ebf0152671183822aa2e7c9a81d64bdd4a743eea9db472b724

Contents?: true

Size: 297 Bytes

Versions: 3

Compression:

Stored size: 297 Bytes

Contents

module QueryReportLinkHelper
  def link_to_download_report_pdf
    link_to t('views.links.pdf'), export_report_url_with_format('pdf'), :target => "_blank"
  end

  def link_to_download_report_csv
    link_to t('views.links.csv'), export_report_url_with_format('csv'), :target => "_blank"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
query_report-1.0.4 app/helpers/query_report_link_helper.rb
query_report-1.0.3 app/helpers/query_report_link_helper.rb
query_report-1.0.2 app/helpers/query_report_link_helper.rb