]> source.dussan.org Git - redmine.git/commitdiff
code cleanup: rubocop: fix Layout/EndAlignment in app/helpers/versions_helper.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 17 Oct 2019 17:02:23 +0000 (17:02 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 17 Oct 2019 17:02:23 +0000 (17:02 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@18731 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
app/helpers/versions_helper.rb

index aa2c49c1bf223df89b976ad305a1c7220f303977..4f14e3e9b6bcc47fcfb12e48019b395079efddde 100644 (file)
@@ -166,7 +166,6 @@ Layout/EmptyLinesAroundModuleBody:
 # SupportedStylesAlignWith: keyword, variable, start_of_line
 Layout/EndAlignment:
   Exclude:
-    - 'app/helpers/versions_helper.rb'
     - 'lib/redmine/export/pdf/issues_pdf_helper.rb'
 
 # Cop supports --auto-correct.
index 03bd454bbcd408fdb1d1e2bc512fbdec33e962db..bca980227efff5f331bcaa6124dfab0b20a40b30 100644 (file)
@@ -41,8 +41,7 @@ module VersionsHelper
         nil
       else
         version.project
-    end
-
+      end
     if project
       project_issues_path(project, options)
     else