Class: Kuroko2::ExecutionHistoriesController

Inherits:
ApplicationController show all
Defined in:
app/controllers/kuroko2/execution_histories_controller.rb

Instance Method Summary collapse

Methods inherited from ApplicationController

#current_user

Instance Method Details

#datasetObject



9
10
11
12
# File 'app/controllers/kuroko2/execution_histories_controller.rb', line 9

def dataset
  set_period
  @histories = histories.where('started_at < ?', @end_at).where('finished_at > ?', @start_at)
end

#indexObject



2
3
4
# File 'app/controllers/kuroko2/execution_histories_controller.rb', line 2

def index
  @histories = histories.page(params[:page])
end

#timelineObject



6
7
# File 'app/controllers/kuroko2/execution_histories_controller.rb', line 6

def timeline
end