]> git.openstreetmap.org Git - rails.git/blob - app/helpers/svg_helper.rb
Merge remote-tracking branch 'upstream/pull/4430'
[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