discourse/app/controllers/admin/versions_controller.rb

10 lines
197 B
Ruby

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