From 9d83092405745f6d1b07a57fd8d2aa8e9bffd9fa Mon Sep 17 00:00:00 2001 From: Azul Date: Sat, 5 Jul 2014 13:10:50 +0200 Subject: minor: cleanup some links only submit the params that differ from the defaults --- app/helpers/navigation_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/helpers/navigation_helper.rb b/app/helpers/navigation_helper.rb index 779ce58..2639246 100644 --- a/app/helpers/navigation_helper.rb +++ b/app/helpers/navigation_helper.rb @@ -68,7 +68,7 @@ module NavigationHelper def extract_icon!(options) icon = options.delete(:icon) if icon.present? - content_tag(:i, '', class: 'icon-'+ icon) + content_tag(:i, '', class: "icon-#{icon}") else "" end -- cgit v1.2.3