From c47d684052ae710000905fcddb7226d2efdc246e Mon Sep 17 00:00:00 2001 From: Pau Perez Date: Tue, 15 May 2018 17:03:53 +0200 Subject: [PATCH] Enable Skylight in staging --- config/application.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config/application.rb b/config/application.rb index 97613f125..e1d9e0b58 100644 --- a/config/application.rb +++ b/config/application.rb @@ -28,5 +28,12 @@ class Application < Rails::Application # This tells Rails to serve error pages from the app itself, rather than using static error pages in public/ config.exceptions_app = self.routes + + # Activate the Skylight agent in staging. You need to provision the + # SKYLIGHT_AUTHENTICATION env var in your OFN instance for this to work. + # + # Check https://github.com/openfoodfoundation/openfoodnetwork/pull/2070 for + # details + config.skylight.environments += ["staging"] end end