<ul>
  <% for iteration in project.iterations.find( :all, :order => "start_date DESC" ) -%>
    <li>
      <%= link_to iteration.name, iteration_path( project, iteration ) %>
      <% if project.iterations.find_current == iteration -%>
        (<%= link_to "current", current_iterations_path( project ) %>) 
      <% end -%>
    </li>
  <% end -%>
</ul>

<ul>
  <% for iteration in project.iterations.find( :all, :order => "start_date DESC" ) -%>
    <li>
      <%= link_to iteration.name, iteration_path( project, iteration ) %>
      <% if project.iterations.current == iteration -%>
        (<%= link_to "current", current_iterations_path( project ) %>) 
      <% end -%>
    </li>
  <% end -%>
</ul>

Extend the project iterations association to be able to find the previous, current, and backlog iterations
Extend the project iterations association to be able to find the previous, current, and backlog iterations
