From: Toshi MARUYAMA Date: Sat, 9 Nov 2019 14:11:14 +0000 (+0000) Subject: cleanup: rubocop: fix Layout/IndentFirstArrayElement in app/helpers/workflows_helper.rb X-Git-Tag: 4.1.0~82 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2f4b4d47dd5b00a0a216f2d63e6f529417eed4ff;p=redmine.git cleanup: rubocop: fix Layout/IndentFirstArrayElement in app/helpers/workflows_helper.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19021 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 8ff28c136..71740bcc1 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -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' diff --git a/app/helpers/workflows_helper.rb b/app/helpers/workflows_helper.rb index a21143160..813c47974 100644 --- a/app/helpers/workflows_helper.rb +++ b/app/helpers/workflows_helper.rb @@ -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