Skip to content

Commit

Permalink
Merge pull request consuldemocracy#2367 from consul/budget-headings-o…
Browse files Browse the repository at this point in the history
…rder

Budgets groups headings order
  • Loading branch information
decabeza committed Jan 23, 2018
2 parents 97a5942 + bd7a7e4 commit 694aad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/budgets/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
<% @budget.groups.each do |group| %>
<h2><%= group.name %></h2>
<ul class="no-bullet">
<% group.headings.each do |heading| %>
<% group.headings.order(name: :asc).each do |heading| %>
<li class="heading small-12 medium-4 large-2">
<%= link_to budget_investments_path(@budget.id, heading_id: heading.id) do %>
<%= heading.name %>
Expand Down

0 comments on commit 694aad1

Please sign in to comment.