]> git.openstreetmap.org Git - rails.git/blob - app/helpers/svg_helper.rb
Avoid running integration tests in every locale
[rails.git] / app / helpers / svg_helper.rb
1 module SvgHelper
2   def solid_svg_tag(width, height, fill, **options)
3     tag.svg :width => width, :height => height, **options do
4       tag.rect :width => "100%", :height => "100%", :fill => fill
5     end
6   end
7 end