fixes link in investments index header

This commit is contained in:
Juanjo Bazán
2017-05-04 13:17:09 +02:00
parent b2082c0cf7
commit 5817aa8d13
2 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@
<%= t("budgets.investments.header.different_heading_assigned_html",
heading_link: link_to(
@assigned_heading.name,
budget_investments_path(@budget, heading: @assigned_heading))
budget_investments_path(@budget, heading_id: @assigned_heading.try(:id)))
) %>
</div>
</div>