Removing mini-profiler that doesn't work, formatting timelines a bit better
This commit is contained in:
@ -5,13 +5,6 @@ class ApplicationController < ActionController::Base
|
||||
|
||||
force_ssl if: "Rails.env.production? && ENV['LOCAL_HTTPS'] == 'true'"
|
||||
|
||||
# Profiling
|
||||
before_action do
|
||||
if (current_user && current_user.admin?) || Rails.env.development?
|
||||
Rack::MiniProfiler.authorize_request
|
||||
end
|
||||
end
|
||||
|
||||
helper_method :current_account
|
||||
|
||||
protected
|
||||
|
Reference in New Issue
Block a user