mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 05:33:47 +08:00
7 lines
165 B
Ruby
7 lines
165 B
Ruby
require_dependency 'discourse_updates'
|
|
|
|
class Admin::VersionsController < Admin::AdminController
|
|
def show
|
|
render json: DiscourseUpdates.check_version
|
|
end
|
|
end |