diff options
Diffstat (limited to 'lib/redmine/menu_manager.rb')
-rw-r--r-- | lib/redmine/menu_manager.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/redmine/menu_manager.rb b/lib/redmine/menu_manager.rb index 7b7b4a809..50023e2ec 100644 --- a/lib/redmine/menu_manager.rb +++ b/lib/redmine/menu_manager.rb @@ -182,10 +182,10 @@ module Redmine end label = if item.icon.present? - icon_with_label(item.icon, h(caption)) - else - h(caption) - end + icon_with_label(item.icon, h(caption)) + else + h(caption) + end link_to(label, use_absolute_controller(url), options) end |