Skip to content

Commit

Permalink
Update app/views/admin/hackathons/index.html.erb
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Almeida <[email protected]>
  • Loading branch information
cjdenio and northeastprince authored Oct 23, 2023
1 parent a3f2780 commit eee2ee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/admin/hackathons/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<h2 class="title">Hackathons</h2>

<%= render "filters" %>
<% if @hackathons.size > 0 %>
<% if @hackathons.any? %>
<%= render partial: "snippet", collection: @hackathons, as: :hackathon %>
<% else %>
<p>No hackathons to show.</p>
Expand Down

0 comments on commit eee2ee0

Please sign in to comment.