discourse/app/controllers/admin/versions_controller.rb

8 lines
166 B
Ruby
Raw Normal View History

require_dependency 'discourse_updates'
2013-02-06 03:16:51 +08:00
class Admin::VersionsController < Admin::AdminController
def show
render json: DiscourseUpdates.check_version
2013-02-06 03:16:51 +08:00
end
end