Small fix for sprint on the issues sidebar always being the last sprint

pull/6827/head
Maxime Guilbot 14 years ago
parent eff0d3dfa3
commit 3af4d99b1e
  1. 6
      app/views/shared/_view_issues_sidebar.html.erb

@ -1,12 +1,12 @@
<div>
<% if sprints && sprints.size > 0 %>
<h3><%= l(:backlogs_sprints) %></h3>
<% sprints.each do |sprint| %>
<%= link_to(sprint.name, {
<% sprints.each do |sp| %>
<%= link_to(sp.name, {
:controller => 'rb_queries',
:action => 'show',
:project_id => project.id,
:sprint_id => sprint.id
:sprint_id => sp.id
}) %><br/>
<% end %>
<% end %>

Loading…
Cancel
Save