diff options
-rw-r--r-- | .rubocop_todo.yml | 1 | ||||
-rw-r--r-- | app/helpers/queries_helper.rb | 2 |
2 files changed, 1 insertions, 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 |