2013-02-19 15:16:50 -05:00
|
|
|
require_dependency 'discourse_updates'
|
2013-02-05 14:16:51 -05:00
|
|
|
|
|
|
|
class Admin::VersionsController < Admin::AdminController
|
|
|
|
def show
|
2013-02-19 15:16:50 -05:00
|
|
|
render json: DiscourseUpdates.check_version
|
2013-02-05 14:16:51 -05:00
|
|
|
end
|
2013-02-19 15:16:50 -05:00
|
|
|
end
|