summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2025-02-04 09:54:57 +0000
committerGo MAEDA <maeda@farend.jp>2025-02-04 09:54:57 +0000
commit1557701e17103098c65fe82665b29be8d2cc3b3a (patch)
tree97f7295dc7e5d90fb3132844efd8135b7e39ca13
parent17e07afdc826a6ea054fd73651e50bfa86f53284 (diff)
downloadredmine-1557701e17103098c65fe82665b29be8d2cc3b3a.tar.gz
redmine-1557701e17103098c65fe82665b29be8d2cc3b3a.zip
Fix RuboCop Style/HashSyntax (#42008).
git-svn-id: https://svn.redmine.org/redmine/trunk@23488 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index c6572761a..03dc70740 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -414,7 +414,7 @@ Rails.application.routes.draw do
# Reveal health status on /up that returns 200 if the app boots with no exceptions, otherwise 500.
# Can be used by load balancers and uptime monitors to verify that the app is live.
- get "up" => "rails/health#show", as: :rails_health_check
+ get "up" => "rails/health#show", :as => :rails_health_check
Redmine::Plugin.directory.glob("*/config/routes.rb").sort.each do |plugin_routes_path|
instance_eval(plugin_routes_path.read, plugin_routes_path.to_s)