mirror of
https://github.com/discourse/discourse.git
synced 2024-12-05 10:36:30 +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 |