Skip to content

Commit

Permalink
FOR STAGING/QA ONLY: Add rack-mini-profiler
Browse files Browse the repository at this point in the history
  • Loading branch information
sandbergja committed Apr 24, 2023
1 parent e43c1d3 commit a685c6c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,5 @@ gem "terser", "~> 1.1"
gem 'vite_rails', '3.0.12'

gem "blacklight_dynamic_sitemap", "~> 0.6.0"

gem "rack-mini-profiler", "~> 3.1"
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,8 @@ GEM
nio4r (~> 2.0)
racc (1.6.2)
rack (2.2.6.4)
rack-mini-profiler (3.1.0)
rack (>= 1.2.0)
rack-proxy (0.7.4)
rack
rack-test (2.1.0)
Expand Down Expand Up @@ -697,6 +699,7 @@ DEPENDENCIES
pg
pry-byebug
puma (~> 6.0)
rack-mini-profiler (~> 3.1)
rails (~> 6.1, >= 6.1.7.1)
rails-controller-testing
rake
Expand Down
1 change: 1 addition & 0 deletions app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# frozen_string_literal: true

class ApplicationController < ActionController::Base
before_action { Rack::MiniProfiler.authorize_request }
# Adds a few additional behaviors into the application controller
include Blacklight::Controller

Expand Down

0 comments on commit a685c6c

Please sign in to comment.