summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-07-05 13:10:50 +0200
committerAzul <azul@leap.se>2014-07-09 13:26:36 +0200
commit9d83092405745f6d1b07a57fd8d2aa8e9bffd9fa (patch)
treee8ad9a5044131ce4bdeb52bd52e990d199c6d066 /app
parentc8fc45c21d72837d5a6bd41ffca18b3ac52a305f (diff)
minor: cleanup some links
only submit the params that differ from the defaults
Diffstat (limited to 'app')
-rw-r--r--app/helpers/navigation_helper.rb2
1 files changed, 1 insertions, 1 deletions
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