code cleanup: rubocop: fix Layout/ElseAlignment in ApplicationHelper#parse_redmine_links

git-svn-id: http://svn.redmine.org/redmine/trunk@18665 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2019-10-14 17:47:51 +00:00
parent 76ed5c7cc3
commit 039f13d650

View File

@@ -1030,7 +1030,8 @@ module ApplicationHelper
issue = Issue.visible.find_by_id(oid)
anchor = comment_id ? "note-#{comment_id}" : nil
url = issue_url(issue, :only_path => only_path, :anchor => anchor)
link = if sep == '##'
link =
if sep == '##'
link_to("#{issue.tracker.name} ##{oid}#{comment_suffix}",
url,
:class => issue.css_classes,