2022-02-14 20:27:53 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class Disputes::BaseController < ApplicationController
|
|
|
|
include Authorization
|
|
|
|
|
|
|
|
layout 'admin'
|
|
|
|
|
|
|
|
skip_before_action :require_functional!
|
|
|
|
|
|
|
|
before_action :authenticate_user!
|
2023-04-19 14:07:29 +00:00
|
|
|
before_action :set_cache_headers
|
2022-02-14 20:27:53 +00:00
|
|
|
|
|
|
|
private
|
|
|
|
|
2023-04-19 14:07:29 +00:00
|
|
|
def set_cache_headers
|
|
|
|
response.cache_control.replace(private: true, no_store: true)
|
|
|
|
end
|
2022-02-14 20:27:53 +00:00
|
|
|
end
|