oplopend sorteren

This commit is contained in:
Kiara Grouwstra 2023-09-30 10:31:09 +02:00
parent 4c14d76e18
commit 49a5444eab
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ class MainController < ApplicationController
def stemmen
@votes = Vote.where(room_id: @room.id, user_id: @user.id)
.order(id: :desc) # created_at ends up identical if loaded in one query
.order(id: :asc) # created_at ends up identical if loaded in one query
render :votes
end