Spaces:
Sleeping
Sleeping
Add health check controller
Browse files
app/controllers/health_controller.rb
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class HealthController < ActionController::API
|
| 2 |
+
def up
|
| 3 |
+
render json: { status: 'ok' }, status: :ok
|
| 4 |
+
end
|
| 5 |
+
end
|