mirror of
https://github.com/meineerde/redmine.git
synced 2026-03-29 20:21:11 +00: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:
parent
a26d885a3a
commit
9e28bebbfc
@ -182,10 +182,10 @@ module Redmine
|
|||||||
end
|
end
|
||||||
|
|
||||||
label = if item.icon.present?
|
label = if item.icon.present?
|
||||||
icon_with_label(item.icon, h(caption))
|
icon_with_label(item.icon, h(caption))
|
||||||
else
|
else
|
||||||
h(caption)
|
h(caption)
|
||||||
end
|
end
|
||||||
|
|
||||||
link_to(label, use_absolute_controller(url), options)
|
link_to(label, use_absolute_controller(url), options)
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user