]> source.dussan.org Git - redmine.git/commitdiff
cleanup: rubocop: fix Layout/IndentFirstArrayElement in app/helpers/workflows_helper.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 9 Nov 2019 14:11:14 +0000 (14:11 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 9 Nov 2019 14:11:14 +0000 (14:11 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19021 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
app/helpers/workflows_helper.rb

index 8ff28c136daa2b4d2451e51987e4185b3781352c..71740bcc137195f425a3edef3311ddf454d3470d 100644 (file)
@@ -120,7 +120,6 @@ Layout/IndentFirstArgument:
 # SupportedStyles: special_inside_parentheses, consistent, align_brackets
 Layout/IndentFirstArrayElement:
   Exclude:
-    - 'app/helpers/workflows_helper.rb'
     - 'app/models/project.rb'
     - 'app/models/setting.rb'
     - 'lib/redmine/nested_set/issue_nested_set.rb'
index a21143160dbd06becc52a93033bdcf30e86fe3d7..813c47974879067c4ea1511054c76b054f2b7323 100644 (file)
@@ -87,11 +87,13 @@ module WorkflowsHelper
     else
       select_tag(
         tag_name,
-        options_for_select([
+        options_for_select(
+          [
             [l(:general_text_Yes), "1"],
             [l(:general_text_No), "0"],
             [l(:label_no_change_option), "no_change"]
-          ], "no_change")
+          ],
+          "no_change")
       )
     end
   end