Skip to content

Commit ffb0fd7

Browse files
committed
add missing backslash for root path
1 parent 744ce66 commit ffb0fd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/insured/plan_shoppings/show.html.slim

+1-1
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ javascript:
470470
if (!product_name) {
471471
product_name = result.product.name
472472
}
473-
var sbc_url = "documents/" + result.product.sbc_document['_id'] + "/product_sbc_download?product_id=" + result.product['_id'] + "&content_type=application/pdf&filename=" + product_name.replace(/[^0-9a-z]/gi, '') + ".pdf&disposition=inline"
473+
var sbc_url = "/documents/" + result.product.sbc_document['_id'] + "/product_sbc_download?product_id=" + result.product['_id'] + "&content_type=application/pdf&filename=" + product_name.replace(/[^0-9a-z]/gi, '') + ".pdf&disposition=inline"
474474
}
475475
else {
476476
var sbc_url = "";

0 commit comments

Comments
 (0)