mirror of
https://github.com/discourse/discourse.git
synced 2024-12-11 15:53:45 +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 |