From 5132622c0404f9eeb55f3e179f14e88765aa4989 Mon Sep 17 00:00:00 2001 From: magdev Date: Sat, 6 May 2023 16:05:29 +0200 Subject: [PATCH] removed healthcheck --- app/controllers/healthcheck_controller.rb | 9 --------- app/helpers/healthcheck_helper.rb | 2 -- app/views/healthcheck/index.html.erb | 1 - config/routes.rb | 1 - 4 files changed, 13 deletions(-) delete mode 100755 app/controllers/healthcheck_controller.rb delete mode 100644 app/helpers/healthcheck_helper.rb delete mode 100644 app/views/healthcheck/index.html.erb diff --git a/app/controllers/healthcheck_controller.rb b/app/controllers/healthcheck_controller.rb deleted file mode 100755 index 1bc0ce6..0000000 --- a/app/controllers/healthcheck_controller.rb +++ /dev/null @@ -1,9 +0,0 @@ -class HealthcheckController < ApplicationController - unloadable - - skip_before_action :check_if_login_required - - def index - render :layout => false, :action => 'index' - end -end diff --git a/app/helpers/healthcheck_helper.rb b/app/helpers/healthcheck_helper.rb deleted file mode 100644 index 6c52fff..0000000 --- a/app/helpers/healthcheck_helper.rb +++ /dev/null @@ -1,2 +0,0 @@ -module HealthcheckHelper -end diff --git a/app/views/healthcheck/index.html.erb b/app/views/healthcheck/index.html.erb deleted file mode 100644 index d86bac9..0000000 --- a/app/views/healthcheck/index.html.erb +++ /dev/null @@ -1 +0,0 @@ -OK diff --git a/config/routes.rb b/config/routes.rb index 0105ba2..67d9340 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,6 +1,5 @@ if Redmine::Plugin.installed? :baupm_core RedmineApp::Application.routes.draw do get '/manifest.json', :controller => 'manifest', :action => 'index', :as => 'manifest_json' - #get '/healthcheck', :controller => 'healthcheck', :action => 'index', :as => 'healthcheck' end end