mirror of
https://github.com/redmine/redmine.git
synced 2025-11-15 09:46:02 +01:00
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:
@@ -1030,7 +1030,8 @@ module ApplicationHelper
|
|||||||
issue = Issue.visible.find_by_id(oid)
|
issue = Issue.visible.find_by_id(oid)
|
||||||
anchor = comment_id ? "note-#{comment_id}" : nil
|
anchor = comment_id ? "note-#{comment_id}" : nil
|
||||||
url = issue_url(issue, :only_path => only_path, :anchor => anchor)
|
url = issue_url(issue, :only_path => only_path, :anchor => anchor)
|
||||||
link = if sep == '##'
|
link =
|
||||||
|
if sep == '##'
|
||||||
link_to("#{issue.tracker.name} ##{oid}#{comment_suffix}",
|
link_to("#{issue.tracker.name} ##{oid}#{comment_suffix}",
|
||||||
url,
|
url,
|
||||||
:class => issue.css_classes,
|
:class => issue.css_classes,
|
||||||
|
|||||||
Reference in New Issue
Block a user