discourse/app/controllers/admin/versions_controller.rb

7 lines
165 B
Ruby
Raw Normal View History

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