Class: Tuttle::PerformanceTuningController

Inherits:
ApplicationController show all
Defined in:
app/controllers/tuttle/performance_tuning_controller.rb

Instance Method Summary collapse

Methods inherited from ApplicationController

#check_reload_status

Instance Method Details

#indexObject



6
7
8
9
10
11
# File 'app/controllers/tuttle/performance_tuning_controller.rb', line 6

def index
  if defined?(::Rack::MiniProfiler)
    @mp_config = ::Rack::MiniProfiler.config
    @mp_client_settings = ::Rack::MiniProfiler::ClientSettings.new(request.env)
  end
end