From 9e28bebbfc47e50892fb1ed93f353e4b8bc9e0f7 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Sat, 7 Sep 2024 04:07:41 +0000 Subject: Fix RuboCop offense Layout/EndAlignment (#23980). git-svn-id: https://svn.redmine.org/redmine/trunk@23030 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/menu_manager.rb | 8 ++++---- 1 file 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 -- cgit v1.2.3