diff --git a/app/views/admin/hackathons/index.html.erb b/app/views/admin/hackathons/index.html.erb index befcfad9..1dfc3bdf 100644 --- a/app/views/admin/hackathons/index.html.erb +++ b/app/views/admin/hackathons/index.html.erb @@ -3,7 +3,7 @@

Hackathons

<%= render "filters" %> -<% if @hackathons.size > 0 %> +<% if @hackathons.any? %> <%= render partial: "snippet", collection: @hackathons, as: :hackathon %> <% else %>

No hackathons to show.