mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-01 02:03:22 +00:00
replace link_to with contant_tag
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user