TESTING - Disable all api queries

This commit is contained in:
mgabdev 2020-05-22 14:07:23 -04:00
parent 9d8b96cb36
commit 5e113bafc0
1 changed files with 1 additions and 0 deletions

View File

@ -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