2018-01-14 20:43:26 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2019-01-21 01:37:04 -05:00
|
|
|
class ForumsController < ActionController::Base
|
2013-02-05 14:16:51 -05:00
|
|
|
def status
|
|
|
|
if $shutdown
|
2017-04-10 08:01:25 -04:00
|
|
|
render plain: 'shutting down', status: 500
|
2013-02-05 14:16:51 -05:00
|
|
|
else
|
2017-04-10 08:01:25 -04:00
|
|
|
render plain: 'ok'
|
2013-02-05 14:16:51 -05:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|