Skip to content

Commit

Permalink
Merge pull request #25 from eagletmt/log-order
Browse files Browse the repository at this point in the history
Job instance logs should be ordered
  • Loading branch information
eagletmt authored Dec 2, 2016
2 parents 71583c6 + bcd1925 commit 37bd2ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/kuroko2/job_instances_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ def create
end

def show
@logs = @instance.logs
@tokens = @instance.tokens
@logs = @instance.logs.order(:id)
@tokens = @instance.tokens.order(:id)

if params[:mode] == :naked
render partial: 'instance', layout: false
Expand Down

0 comments on commit 37bd2ca

Please sign in to comment.