From 8e3a826c0b16b4a60623f97ede1dd2f139314095 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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/application.rb b/config/application.rb index 97613f125..ba1728b8e 100644 --- a/config/application.rb +++ b/config/application.rb @@ -28,5 +28,9 @@ 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 for this to work. + config.skylight.environments += ["staging"] end end