diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index fbaba5b73..524746fec 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -8,7 +8,7 @@ class ApplicationController < ActionController::Base before_action :authorize_request_for_profiler def authorize_request_for_profiler - if Rails.env.production? && administration_signed_in? + if administration_signed_in? Rack::MiniProfiler.authorize_request end end