diff --git a/app/controllers/signup_sheet_controller.rb b/app/controllers/signup_sheet_controller.rb index 72a33adacc9..227af3bbd89 100644 --- a/app/controllers/signup_sheet_controller.rb +++ b/app/controllers/signup_sheet_controller.rb @@ -168,7 +168,6 @@ def compute_signed_up_topics def list @participant = AssignmentParticipant.find(params[:id].to_i) @assignment = @participant.assignment - @max_team_size = @assignment.max_team_size @signup_topics = SignUpTopic.where(assignment_id: @assignment.id, private_to: nil) @show_actions = true @priority = 0 diff --git a/app/views/signup_sheet/intelligent_topic_selection.html.erb b/app/views/signup_sheet/intelligent_topic_selection.html.erb index e72ea27be1a..41e6f6e374d 100644 --- a/app/views/signup_sheet/intelligent_topic_selection.html.erb +++ b/app/views/signup_sheet/intelligent_topic_selection.html.erb @@ -23,7 +23,7 @@ <% for topic in @signup_topics %> - <%= get_intelligent_topic_row(topic, @selected_topics, @max_team_size) %> + <%= get_intelligent_topic_row(topic, @selected_topics, @assignment.max_team_size) %> <% is_suggested_topic = false %> <%= render :partial => 'table_line', :locals => {:i=>i, :topic=>topic, :is_suggested_topic=>is_suggested_topic} %> @@ -39,7 +39,7 @@ class="connectedSortable"> <% for topic in @bids %> - + <%= render :partial => 'table_line', :locals => {:i=>i, :topic=>topic, :is_suggested_topic=>is_suggested_topic} %> <% i=i+1 %> @@ -58,4 +58,4 @@ Back
- \ No newline at end of file +