]> source.dussan.org Git - redmine.git/commitdiff
cleanup: rubocop: fix Layout/ClosingParenthesisIndentation in app/helpers/application...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 23 Nov 2019 09:04:26 +0000 (09:04 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 23 Nov 2019 09:04:26 +0000 (09:04 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19190 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/application_helper.rb

index 952c2e58ae5ffcbf7fb8635c37d5ea08d0d204c4..02dcf22fcc9b827266c0e8584124ba6df95cda65 100644 (file)
@@ -343,8 +343,8 @@ module ApplicationHelper
   end
 
   def format_activity_description(text)
-    h(text.to_s.truncate(120).gsub(%r{[\r\n]*<(pre|code)>.*$}m, '...')
-       ).gsub(/[\r\n]+/, "<br />").html_safe
+    h(text.to_s.truncate(120).gsub(%r{[\r\n]*<(pre|code)>.*$}m, '...')).
+      gsub(/[\r\n]+/, "<br />").html_safe
   end
 
   def format_version_name(version)
@@ -524,8 +524,7 @@ module ApplicationHelper
                     content_tag('div', render_projects_for_jump_box(projects, @project),
                                 :class => 'drdn-items projects selection') +
                     content_tag('div', all, :class => 'drdn-items all-projects selection'),
-                  :class => 'drdn-content'
-      )
+                  :class => 'drdn-content')
     content_tag('div', trigger + content, :id => "project-jump", :class => "drdn")
   end