]> git.openstreetmap.org Git - rails.git/blob - app/helpers/application_helper.rb
Fixed merge fail - this branch doesn't have javascript_strings.
[rails.git] / app / helpers / application_helper.rb
1 module ApplicationHelper
2   def htmlize(text)
3     return sanitize(auto_link(simple_format(text), :urls))
4   end
5
6   def rss_link_to(*args)
7     return link_to(image_tag("RSS.gif", :size => "16x16", :border => 0), Hash[*args], { :class => "rsssmall" });
8   end
9
10   def atom_link_to(*args)
11     return link_to(image_tag("RSS.gif", :size => "16x16", :border => 0), Hash[*args], { :class => "rsssmall" });
12   end
13 end