From 10da3dba580cb52327a2b60f362aa7934acca2c2 Mon Sep 17 00:00:00 2001 From: Bertocq Date: Wed, 26 Jul 2017 19:13:46 +0200 Subject: [PATCH] Use content_tag to render span icon on back link helper --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 59150b1a0..5f3332ba3 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -45,7 +45,7 @@ module ApplicationHelper def back_link_to(destination = :back, text = t("shared.back")) link_to destination, class: "back" do - "".html_safe + text + content_tag(:span, class: 'icon-angle-left') + text end end