Class: RailsPulse::RequestsController

Inherits:
ApplicationController show all
Includes:
ChartTableConcern
Defined in:
app/controllers/rails_pulse/requests_controller.rb

Instance Method Summary collapse

Methods inherited from ApplicationController

#set_pagination_limit

Instance Method Details

#indexObject



7
8
9
# File 'app/controllers/rails_pulse/requests_controller.rb', line 7

def index
  setup_chart_and_table_data
end

#showObject



11
12
13
# File 'app/controllers/rails_pulse/requests_controller.rb', line 11

def show
  @operation_timeline = RailsPulse::Requests::Charts::OperationsChart.new(@request.operations)
end