forked from External/greenlight
minor fixes
This commit is contained in:
@ -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 %>
|
||||
|
Reference in New Issue
Block a user