Skip to content
Snippets Groups Projects
Commit 67912e28 authored by Mauricio Giacomini Girardello's avatar Mauricio Giacomini Girardello
Browse files

fixing learning object method call

parent f9a49a8b
No related branches found
No related tags found
No related merge requests found
...@@ -86,7 +86,7 @@ module LearningObjectsHelper ...@@ -86,7 +86,7 @@ module LearningObjectsHelper
def highlighted_btn(url, _label = nil, _class = nil) def highlighted_btn(url, _label = nil, _class = nil)
link_to url, class: 'download btn btn-success', target: "_blank" do link_to url, class: 'download btn btn-success', target: "_blank" do
"<i class='fa #{_class}'></i> #{_label}" content_tag(:i, _label, class: "fa #{_class}").html_safe
end end
end end
end end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment