anchor.diff:            <% if assignment.is_hidden %>
               <%= link_to t('assignment.hidden',
                             :assignment_text => h(assignment.short_identifier)),
  -                        :controller => 'assignments',
  -                        :action => 'edit',
  -                        :id => assignment.id,
  +                        { :controller => 'assignments',
  +                          :action => 'edit',
  +                          :id => assignment.id },
                           :title => assignment.description %>
             <% else %>
               <%= link_to h(assignment.short_identifier),
  -                        :controller => 'assignments',
  -                        :action => 'edit',
  -                        :id => assignment.id,
  +                        { :controller => 'assignments',
  +                          :action => 'edit',
  +                          :id => assignment.id },
                           :title => assignment.description %>
             <% end %>
           </li>
  
positive.code:           target_controller = controller.controller_name == 'assignments' ? nil : controller.controller_name
            target_action = controller.action_name == 'index' ? nil : controller.action_name
          end %>
            <% # If the current controller action is repo_browser, the drop down
               # menu for assignments should go to browse, and not repo_browser
              if target_action == 'repo_browser'
              target_action = 'browse'
            end %>
            <% # Don't show hidden assignments in the dropdown menu for students
               # either. Append '(hidden)' for TAs and Admins.
              if !@current_user.student? %>
              <% if assignment.is_hidden %>
                <%= link_to t('assignment.hidden',
                              :assignment_text => h(assignment.short_identifier)),
                            :controller => target_controller,
                            :action => controller.action_name,
                            :id => assignment.id,
                            :title => assignment.description %>
              <% else %>
                <%= link_to h(assignment.short_identifier),
                            polymorphic_url([assignment, target_controller],
                                            :action => target_action),
                            :title => assignment.description %>
              <% end %>
            <% # student user, so show only non-hidden assignments
              else %>
              <% if !assignment.is_hidden %>
                <%= link_to h(assignment.short_identifier),
                            :controller => 'assignments',
                            :action => 'student_interface',
                            :id => assignment.id,
                            :title => assignment.description %>
              <% end %>
            <% end %>
        </li>
      <% end %>
    <% else %>
  
negative.code:           <% # Don't show hidden assignments to students
              if !assignment.is_hidden %>
              <%= link_to h(assignment.short_identifier),
                          { :controller => 'assignments',
                            :action => 'student_interface',
                            :id => assignment.id },
                          :title => assignment.description %>
            <% end %>
          </li>
  