From b26cb78737c7114ad1a625cf9869a746fe3c0bde Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 8 Nov 2019 02:09:28 +0000 Subject: [PATCH] cleanup: rubocop: fix Layout/BlockAlignment in app/helpers/queries_helper.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18944 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .rubocop_todo.yml | 1 - app/helpers/queries_helper.rb | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 90c442532..17c3889af 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -19,7 +19,6 @@ Layout/AlignHash: # SupportedStylesAlignWith: either, start_of_block, start_of_line Layout/BlockAlignment: Exclude: - - 'app/helpers/queries_helper.rb' - 'app/models/principal.rb' - 'app/models/project.rb' - 'app/models/time_entry.rb' diff --git a/app/helpers/queries_helper.rb b/app/helpers/queries_helper.rb index 3f6b893c8..a0e0b83e2 100644 --- a/app/helpers/queries_helper.rb +++ b/app/helpers/queries_helper.rb @@ -409,7 +409,7 @@ module QueriesHelper clear_link += link_to_clear_query end content_tag('li', link_to(query.name, url_params.merge(:query_id => query), :class => css) + clear_link.html_safe) - }.join("\n").html_safe, + }.join("\n").html_safe, :class => 'queries' ) + "\n" end