replace link_to with contant_tag

This commit is contained in:
Mohamed ABDELLANI
2023-11-13 15:39:26 +01:00
parent d4cebfdb4f
commit 9ce62cf6af

View File

@@ -2,8 +2,8 @@
module TermsAndConditionsHelper
def link_to_platform_terms
link_to(t("terms_of_service"), TermsOfServiceFile.current_url, target: "_blank",
rel: "noopener")
content_tag(:a, t("terms_of_service"), href: TermsOfServiceFile.current_url, target: "_blank",
rel: "noopener")
end
def any_terms_required?(distributor)