Skip to content

Commit 0df4bd3

Browse files
committed
Linter
1 parent 3d5d709 commit 0df4bd3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/helpers/dsfr/pictogram.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
module DSFR::Pictogram
22
def dsfr_pictogram(image_name)
33
template.content_tag(:svg, aria: { hidden: true }, class: 'fr-artwork', viewBox: '0 0 80 80', width: '80px', height: '80px') do
4-
%w[decorative minor major].map do |type|
5-
template.content_tag(:use, '', 'href': "#{image_path(image_name)}#artwork-#{type}", class: "fr-artwork-#{type}")
6-
end.join.html_safe
4+
%w[decorative minor major].map { |type|
5+
template.content_tag(:use, '', href: "#{image_path(image_name)}#artwork-#{type}", class: "fr-artwork-#{type}")
6+
}.join.html_safe
77
end
88
end
99

0 commit comments

Comments
 (0)