diff --git a/app/views/modal/ban/_history.haml b/app/views/modal/ban/_history.haml index a8af1389..3ca3be1d 100644 --- a/app/views/modal/ban/_history.haml +++ b/app/views/modal/ban/_history.haml @@ -1,7 +1,7 @@ .modal-body %p= t '.count', user: user.screen_name, count: user.bans.count .list-group - - user.bans.each do |ban| + - user.bans.order(:created_at).reverse_order.each do |ban| .list-group-item{ class: ban.current? ? 'list-group-item-success' : '' } .d-flex.w-100.justify-content-between %h5.mb-1= ban.reason