Skip to content

Commit d050c89

Browse files
author
Brian Schroer
committed
Linting change.
1 parent be4e532 commit d050c89

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

app/controllers/services_controller.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@ def html_to_pdf
6565
send_data pdf,
6666
{ type: "application/pdf",
6767
disposition: "attachment; filename*=UTF-8''#{ERB::Util.url_encode('result.pdf')} }" }
68-
else
69-
render(status: 500)
7068
end
7169
rescue Pdfcrowd::Error => e
7270
puts "Failed to convert HTML to PDF: #{e}"

0 commit comments

Comments
 (0)