mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-31 19:47:14 +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
|
||||
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user