Skip to content

Commit

Permalink
Merge pull request #357 from coopdevs/sklight-upgrade
Browse files Browse the repository at this point in the history
Upgrade Skylight from 1.5.0 to 2.0.1
  • Loading branch information
sauloperez authored May 16, 2018
2 parents c775567 + 8e3a826 commit d52778e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,10 @@ GEM
simple_form (3.1.0)
actionpack (~> 4.0)
activemodel (~> 4.0)
skylight (1.5.0)
activesupport (>= 3.0.0)
skylight (2.0.1)
skylight-core (= 2.0.1)
skylight-core (2.0.1)
activesupport (>= 4.2.0)
sprockets (3.7.1)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
Expand Down
4 changes: 4 additions & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d52778e

Please # to comment.