discourse/app/controllers/admin/versions_controller.rb

8 lines
157 B
Ruby

# frozen_string_literal: true
class Admin::VersionsController < Admin::AdminController
def show
render json: DiscourseUpdates.check_version
end
end