You've already forked baupm-core
added simple healthcheck route
This commit is contained in:
9
app/controllers/healthcheck_controller.rb
Executable file
9
app/controllers/healthcheck_controller.rb
Executable file
@@ -0,0 +1,9 @@
|
||||
class HealthcheckController < ApplicationController
|
||||
unloadable
|
||||
|
||||
skip_before_action :check_if_login_required
|
||||
|
||||
def index
|
||||
render :layout => false, :action => 'index'
|
||||
end
|
||||
end
|
||||
1
app/views/healthcheck/index.html.erb
Normal file
1
app/views/healthcheck/index.html.erb
Normal file
@@ -0,0 +1 @@
|
||||
OK
|
||||
Reference in New Issue
Block a user