From 5e113bafc0ddaaebeada6a2b4a19a1df5b7205df Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Fri, 22 May 2020 14:07:23 -0400 Subject: [PATCH] TESTING - Disable all api queries --- app/controllers/api/base_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/api/base_controller.rb b/app/controllers/api/base_controller.rb index 47c82302..e6c2dfb9 100644 --- a/app/controllers/api/base_controller.rb +++ b/app/controllers/api/base_controller.rb @@ -92,6 +92,7 @@ class Api::BaseController < ApplicationController end def set_cache_headers + render json: [] response.headers['Cache-Control'] = 'no-cache, no-store, max-age=0, must-revalidate' end end