diff options
| author | mo khan <mo@mokhan.ca> | 2013-06-04 22:52:22 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2013-06-04 22:52:22 -0600 |
| commit | 84f7dcb4f68f547dc56fe080d1b1034d790dc1ec (patch) | |
| tree | 6f9a23ac25fc5d0ab7d81827747a3f1cd3b3f296 /app/controllers/application_controller.rb | |
| parent | c9abf48773d0b02cf5209b47569689122e7177ac (diff) | |
fix check that enables profiling in staging
Diffstat (limited to 'app/controllers/application_controller.rb')
| -rw-r--r-- | app/controllers/application_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 43451355..471187b5 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -10,7 +10,7 @@ class ApplicationController < ActionController::Base end def profile_application - Rack::MiniProfiler.authorize_request unless ENV['PROFILE_APPLICATION'].blank? + Rack::MiniProfiler.authorize_request if ENV['PROFILE_APPLICATION'] == true end def load_categories |
