Fixed issue with rooms not correctly ordering (#963)

This commit is contained in:
Ahmad Farhat
2020-02-24 16:48:51 -05:00
committed by GitHub
parent 03266730e8
commit 475374090a
3 changed files with 28 additions and 1 deletions

View File

@ -77,7 +77,7 @@
</div>
<div id="room_block_container" class="row pt-7 pb-5">
<% current_user.rooms.each do |room| %>
<% current_user.ordered_rooms.each do |room| %>
<div class="col-lg-4 col-md-6 col-sm-12">
<%= link_to room do %>
<%= render "rooms/components/room_block", room: room %>