]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/application_helper.rb
move around things to match the change in action names
[rails.git] / app / helpers / application_helper.rb
index 22a7940eb213fec161352153800c9c6948c8b43c..9c2b5fd3fe9376854d0d503edce6ef31f13ce29e 100644 (file)
@@ -1,3 +1,5 @@
-# Methods added to this helper will be available to all templates in the application.
 module ApplicationHelper
+  def htmlize(text)
+    return sanitize(auto_link(simple_format(text), :urls))
+  end
 end