]> git.openstreetmap.org Git - rails.git/blob - app/helpers/application_helper.rb
Return, rather than allow a second render to happen. Closes #1407
[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 end