app/helpers/blacklight_marc_helper.rb in blacklight-marc-8.1.2 vs app/helpers/blacklight_marc_helper.rb in blacklight-marc-8.1.3
- old
+ new
@@ -1,9 +1,7 @@
module BlacklightMarcHelper
-
- # This method should move to BlacklightMarc in Blacklight 6.x
def refworks_export_url params = {}, *_
- "http://www.refworks.com/express/expressimport.asp?vendor=#{CGI.escape(params[:vendor] || application_name)}&filter=#{CGI.escape(params[:filter] || "MARC Format")}&encoding=65001" + (("&url=#{CGI.escape(params[:url])}" if params[:url]) || "")
+ "https://www.refworks.com/express/expressimport.asp?vendor=#{CGI.escape(params[:vendor] || application_name)}&filter=#{CGI.escape(params[:filter] || "MARC Format")}&encoding=65001" + (("&url=#{CGI.escape(params[:url])}" if params[:url]) || "")
end
def refworks_solr_document_path opts = {}, *_
if opts[:id]
refworks_export_url(url: solr_document_url(opts[:id], format: :refworks_marc_txt))