]> source.dussan.org Git - redmine.git/commitdiff
fix source indent at ApplicationHelper#parse_redmine_links
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 28 Jun 2020 16:36:42 +0000 (16:36 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 28 Jun 2020 16:36:42 +0000 (16:36 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19838 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/application_helper.rb

index b5e44b1e03e32f9b44c60702acae00faa66b464c..7abe719bac49e692239f207dff75e92a4b0ad9b0 100644 (file)
@@ -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)