minor fixes

This commit is contained in:
Josh
2018-06-13 13:27:29 -04:00
parent bc9c2c1232
commit 83642f22c1
8 changed files with 29 additions and 26 deletions

View File

@ -37,7 +37,12 @@
<div class="row pt-7 pb-2">
<% if current_user.rooms.length > 1 %>
<% current_user.rooms.each do |room| %>
<div class="col-lg-4 col-md-6 col-sm-12">
<%= link_to current_user.main_room do %>
<%= render "shared/components/room_block", room: current_user.main_room %>
<% end %>
</div>
<% current_user.secondary_rooms.each do |room| %>
<div class="col-lg-4 col-md-6 col-sm-12">
<%= link_to room do %>
<%= render "shared/components/room_block", room: room %>