discourse/app/controllers/admin/versions_controller.rb

7 lines
No EOL
165 B
Ruby

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