diff options
author | Go MAEDA <maeda@farend.jp> | 2024-09-07 04:07:41 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-09-07 04:07:41 +0000 |
commit | 9e28bebbfc47e50892fb1ed93f353e4b8bc9e0f7 (patch) | |
tree | 984d61782b5ecbf6543ae2f6d3306a3c0c7b2c04 /lib | |
parent | a26d885a3a75de6287206ac4718385e6eac4643d (diff) | |
download | redmine-9e28bebbfc47e50892fb1ed93f353e4b8bc9e0f7.tar.gz redmine-9e28bebbfc47e50892fb1ed93f353e4b8bc9e0f7.zip |
Fix RuboCop offense Layout/EndAlignment (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23030 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-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 |