From da40d95c37a22a34abc3e3671aae6a6d56c4e9af Mon Sep 17 00:00:00 2001 From: Adrien POLY Date: Fri, 8 Sep 2023 22:07:30 +0200 Subject: [PATCH] lint --- app/helpers/icon_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/helpers/icon_helper.rb b/app/helpers/icon_helper.rb index b1298ce1..1513faba 100644 --- a/app/helpers/icon_helper.rb +++ b/app/helpers/icon_helper.rb @@ -14,8 +14,8 @@ def heroicon(icon_name, size: :md, variant: :outline, **options) inline_svg_tag "icons/heroicons/#{variant}/#{icon_name.to_s.tr("_", "-")}.svg", class: classes end - def icon(icon_name, size: :md, **options) + def icon(icon_name, size: :md, **) classes = SIZE_CLASSES[size] - inline_svg_tag "icons/icn-#{icon_name}.svg", class: classes, **options + inline_svg_tag("icons/icn-#{icon_name}.svg", class: classes, **) end end