]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/application_helper.rb
Update to rails 5.1.4
[rails.git] / app / helpers / application_helper.rb
index d27b47f275f815397cd7315d578bc9c960e51d9d..a330eb5f97d47a19d98d874d3681384219e82d54 100644 (file)
@@ -3,9 +3,9 @@ module ApplicationHelper
 
   def linkify(text)
     if text.html_safe?
-      Rinku.auto_link(text, :urls, tag_options(:rel => "nofollow")).html_safe
+      Rinku.auto_link(text, :urls, tag_builder.tag_options(:rel => "nofollow")).html_safe
     else
-      Rinku.auto_link(text, :urls, tag_options(:rel => "nofollow"))
+      Rinku.auto_link(text, :urls, tag_builder.tag_options(:rel => "nofollow"))
     end
   end