X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b470e01f840d1b954326f8f863e185ebe7f9b9f2..a0dd71112a910f68383392bc9efaa26b8e042d3e:/app/helpers/application_helper.rb?ds=sidebyside diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index db8b51f5c..c8473adfc 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -9,12 +9,12 @@ module ApplicationHelper end end - def rss_link_to(*args) - link_to(image_tag("RSS.png", :size => "16x16", :border => 0), Hash[*args], :class => "rsssmall") + def rss_link_to(args = {}) + link_to(image_tag("RSS.png", :size => "16x16", :border => 0), args, :class => "rsssmall") end - def atom_link_to(*args) - link_to(image_tag("RSS.png", :size => "16x16", :border => 0), Hash[*args], :class => "rsssmall") + def atom_link_to(args = {}) + link_to(image_tag("RSS.png", :size => "16x16", :border => 0), args, :class => "rsssmall") end def richtext_area(object_name, method, options = {})