Fix "go back" link in budget group and investments
Even if we usually only access these pages for the current budget, that might not always be the case, and now that we've unified budget landing pages, there's no point in them pointing to the index anymore.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<div class="budget-header">
|
||||
<div class="row">
|
||||
<div class="small-12 medium-9 column">
|
||||
<%= back_link_to budgets_path %>
|
||||
<%= back_link_to budget_path(@budget) %>
|
||||
<h2><%= t("budgets.groups.show.title") %></h2>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="small-12 column">
|
||||
<%= back_link_to budgets_path %>
|
||||
<%= back_link_to budget_path(@budget) %>
|
||||
|
||||
<% if can? :show, @ballot %>
|
||||
<%= link_to t("budgets.investments.header.check_ballot"),
|
||||
|
||||
Reference in New Issue
Block a user