Skip to content

Commit

Permalink
Section: Don't link to Entrance in SectionCard
Browse files Browse the repository at this point in the history
The Entrance should be the top of the breadcrumbs already
  • Loading branch information
zspencer committed Nov 24, 2023
1 parent c50ba1f commit aea6178
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/views/rooms/_room.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

<div class="mt-3 grid grid-cols-1 gap-5 sm:gap-6 sm:grid-cols-2 lg:grid-cols-4 items-center">
<% policy_scope(room.space.rooms).each do |room| %>
<%- next if room.entrance? %>
<%= render partial: 'spaces/room_card', locals: { room: room } %>
<% end %>
</div>
Expand Down

0 comments on commit aea6178

Please sign in to comment.