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
  • Loading branch information
martinpovolny committed May 2, 2017
2 parents fe8b017 + 091e639 commit d71a94b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,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 d71a94b

Please sign in to comment.