fixes content_tag span on back_link_to helper
This commit is contained in:
@@ -45,7 +45,7 @@ module ApplicationHelper
|
||||
|
||||
def back_link_to(destination = :back, text = t("shared.back"))
|
||||
link_to destination, class: "back" do
|
||||
content_tag(:span, class: 'icon-angle-left') + text
|
||||
content_tag(:span, nil, class: "icon-angle-left") + text
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user