discourse/app/controllers/admin/versions_controller.rb

8 lines
166 B
Ruby
Raw Normal View History

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