mirror of
https://github.com/redmine/redmine.git
synced 2026-02-02 21:00:01 +01:00
Fix RuboCop offense Layout/EndAlignment (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23030 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user