Class: RailsRequestsController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/rails_requests_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



3
4
5
6
7
# File 'app/controllers/rails_requests_controller.rb', line 3

def index
  @data   = RailsRequests.dump
  @global = RailsRequests::GlobalReport.new.data(:controller_action)
  #@full   = RailsRequests::FullReport.new.data(:controller_action).sort{|a, b| b[:count] <=> a[:count]}
end