Skip to content

Commit

Permalink
Merge pull request #1060 from hayesr/fix_switch_pdf2
Browse files Browse the repository at this point in the history
Skip links for quadicons in PDFs
(cherry picked from commit d71a94b)

https://bugzilla.redhat.com/show_bug.cgi?id=1458926
  • Loading branch information
Martin Povolny authored and simaishi committed Jun 5, 2017
1 parent fa38a15 commit 3ac8541
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/controllers/application_controller.rb
Expand Up @@ -150,6 +150,10 @@ def change_tab
end

def download_summary_pdf
# do not build quadicon links
@embedded = true
@showlinks = false

@record = identify_record(params[:id])
yield if block_given?
return if record_no_longer_exists?(@record)
Expand Down

0 comments on commit 3ac8541

Please sign in to comment.