Class: PactBroker::UI::Controllers::Index

Inherits:
Base
  • Object
show all
Includes:
Services
Defined in:
lib/pact_broker/ui/controllers/index.rb

Instance Method Summary collapse

Methods included from Services

#badge_service, #certificate_service, #group_service, #index_service, #integration_service, #label_service, #matrix_service, #metrics_service, #pact_service, #pacticipant_service, #tag_service, #verification_service, #version_service, #webhook_service, #webhook_trigger_service

Methods inherited from Base

#base_url

Instance Method Details

#set_headersObject



42
43
44
45
46
# File 'lib/pact_broker/ui/controllers/index.rb', line 42

def set_headers
  response.headers["Cache-Control"] = "no-cache, no-store, must-revalidate"
  response.headers["Pragma"] = "no-cache"
  response.headers["Expires"] = "0"
end