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

.rubocop_todo.yml
app/helpers/versions_helper.rb

index bd48633307339a2643b8ef4d18af120285d009d4..9ebd2f4f31ceae6eced8187d93bcad9c1d8804be 100644 (file)
@@ -72,7 +72,6 @@ Layout/BlockEndNewline:
 # SupportedStyles: case, end
 Layout/CaseIndentation:
   Exclude:
-    - 'app/helpers/versions_helper.rb'
     - 'app/models/issue_import.rb'
     - 'app/models/issue_priority.rb'
     - 'app/models/issue_query.rb'
index ca93abd531eaa580952b1e5b77cce1f6b3927d4b..35d9b6d00dc20588206793c248826bd6077d2aa9 100644 (file)
@@ -29,7 +29,8 @@ module VersionsHelper
 
   def version_filtered_issues_path(version, options = {})
     options = {:fixed_version_id => version, :set_filter => 1}.merge(options)
-    project = case version.sharing
+    project =
+      case version.sharing
       when 'hierarchy', 'tree'
         if version.project && version.project.root.visible?
           version.project.root