Class: Kuroko2::ExecutionHistoriesController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Kuroko2::ExecutionHistoriesController
- Defined in:
- app/controllers/kuroko2/execution_histories_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
Instance Method Details
#dataset ⇒ Object
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 |
#index ⇒ Object
2 3 4 |
# File 'app/controllers/kuroko2/execution_histories_controller.rb', line 2 def index @histories = histories.page(params[:page]) end |
#timeline ⇒ Object
6 7 |
# File 'app/controllers/kuroko2/execution_histories_controller.rb', line 6 def timeline end |