From 2bf7316af7e372e2166b74c9865a0092998ad189 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Thu, 6 Nov 2025 07:32:54 +0000 Subject: [PATCH] Fix RuboCop Layout/EmptyLines (#43437). git-svn-id: https://svn.redmine.org/redmine/trunk@24131 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .rubocop_todo.yml | 5 ----- config/routes.rb | 1 - 2 files changed, 6 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index b2233915b..499a73499 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -28,11 +28,6 @@ Layout/EmptyLineAfterGuardClause: - 'lib/redmine/string_array_diff/diffable.rb' - 'lib/redmine/wiki_formatting/textile/redcloth3.rb' -# This cop supports safe autocorrection (--autocorrect). -Layout/EmptyLines: - Exclude: - - 'config/routes.rb' - # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowAliasSyntax, AllowedMethods. # AllowedMethods: alias_method, public, protected, private diff --git a/config/routes.rb b/config/routes.rb index 75e7ea01c..3d039aaaf 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -373,7 +373,6 @@ Rails.application.routes.draw do get '(projects/:id)/search', :controller => 'search', :action => 'index', :as => 'search' - get 'mail_handler', :to => 'mail_handler#new' post 'mail_handler', :to => 'mail_handler#index'