diff --git a/app/views/competitions/enroll.html.erb b/app/views/competitions/enroll.html.erb index 8487f129..8dcabc56 100644 --- a/app/views/competitions/enroll.html.erb +++ b/app/views/competitions/enroll.html.erb @@ -1,7 +1,7 @@
- <% if @competition.max_num > 1 %> + <% if @competition.competition_staffs.sum(:minimum) > 1 %>

<% unless User.current.logged? %> <%= link_to "εˆ›ε»Ίζˆ˜ι˜Ÿ", signin_path, :remote => true, :class => "enroll-in-b enroll-in-b-green fr" %>