make pdf links clickable

This commit is contained in:
Alex Turchyn committed 2023-09-01 10:08:27 +03:00
1 parent c4daf8ed49
commit 52ef0ae929
17 files changed
+131 -44

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ class EsignSettingsController < ApplicationController
default_pkcs = GenerateCertificate.load_pkcs(cert_data) if cert_data['cert'].present?
custom_pkcs_list = (cert_data['custom'] || []).map do |e|
{ 'pkcs' => OpenSSL::PKCS12.new(Base64.urlsafe_decode64(e['data']), e['password']),
{ 'pkcs' => OpenSSL::PKCS12.new(Base64.urlsafe_decode64(e['data']), e['password'].to_s),
'name' => e['name'],
'status' => e['status'] }
end