From 487b604c57371a3a8ff81156c410e30da34c7118 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 28 Jun 2020 16:36:42 +0000 Subject: [PATCH] fix source indent at ApplicationHelper#parse_redmine_links git-svn-id: http://svn.redmine.org/redmine/trunk@19838 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/application_helper.rb | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index b5e44b1e0..7abe719ba 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1145,14 +1145,16 @@ module ApplicationHelper "repository_id = ? AND scmid LIKE ?", repository.id, "#{name}%" ).first) - link = link_to( - h("#{project_prefix}#{repo_prefix}#{name}"), - {:only_path => only_path, :controller => 'repositories', - :action => 'revision', :id => project, - :repository_id => repository.identifier_param, - :rev => changeset.identifier}, - :class => 'changeset', - :title => truncate_single_line_raw(changeset.comments, 100)) + link = + link_to( + h("#{project_prefix}#{repo_prefix}#{name}"), + {:only_path => only_path, :controller => 'repositories', + :action => 'revision', :id => project, + :repository_id => repository.identifier_param, + :rev => changeset.identifier}, + :class => 'changeset', + :title => truncate_single_line_raw(changeset.comments, 100) + ) end else if repository && User.current.allowed_to?(:browse_repository, project) -- 2.39.5