Files
danbooru/app/controllers/status_controller.rb
evazion a7dc05ce63 Enable frozen string literals.
Make all string literals immutable by default.
2021-12-14 21:33:27 -06:00

11 lines
198 B
Ruby

# frozen_string_literal: true
class StatusController < ApplicationController
respond_to :html, :json, :xml
def show
@status = ServerStatus.new(request)
respond_with(@status)
end
end