diff --git a/app/controllers/kuroko2/logs_controller.rb b/app/controllers/kuroko2/logs_controller.rb index 70a43e17..ebb62f00 100644 --- a/app/controllers/kuroko2/logs_controller.rb +++ b/app/controllers/kuroko2/logs_controller.rb @@ -2,7 +2,7 @@ class Kuroko2::LogsController < Kuroko2::ApplicationController def index @definition = Kuroko2::JobDefinition.find(logs_params[:job_definition_id]) @instance = Kuroko2::JobInstance.find(logs_params[:job_instance_id]) - @logs = @instance.logs + @logs = @instance.logs.order(:id) render layout: false end