Permalink
Browse files

Minor change to keep 'homeroom' courses out of the Assignments views

  • Loading branch information...
1 parent 5943319 commit 738edf8b27d0914ca4746644b1c50958bbb74b7e @rnhurt committed Nov 15, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 app/views/shared/_course_term_list.html.erb
@@ -9,6 +9,7 @@
</thead>
<tbody>
<% @courses.each do |course| -%>
+ <% next if controller.controller_name == "assignments" && course.course_type.is_homeroom %>
<% course.course_terms.active.sorted.each do |ct| -%>
<tr class="<%= cycle('even', 'odd') -%>"
onclick="location.href='<%= url_for( :action => "show", :id => ct.id ) -%>'" >

0 comments on commit 738edf8

Please sign in to comment.