discourse/app/controllers/admin/versions_controller.rb

8 lines
166 B
Ruby

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