changes back link on header to budgets_path
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<div class="expanded budget no-margin-top">
|
||||
<div class="row">
|
||||
<div class="small-12 medium-9 column padding">
|
||||
<%= back_link_to budget_path(@budget) %>
|
||||
<%= back_link_to budgets_path %>
|
||||
<h2><%= t("budgets.groups.show.title") %></h2>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,13 +4,8 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="small-12 column">
|
||||
<% if @heading.group.headings.count == 1 %>
|
||||
<%= back_link_to budget_path(@budget, unfeasible: params[:unfeasible]) %>
|
||||
<% else %>
|
||||
<%= back_link_to budget_group_path(@budget,
|
||||
@heading.group,
|
||||
unfeasible: params[:unfeasible]) %>
|
||||
<% end %>
|
||||
<%= back_link_to budgets_path %>
|
||||
|
||||
<% if can? :show, @ballot %>
|
||||
<%= link_to t("budgets.investments.header.check_ballot"),
|
||||
budget_ballot_path(@budget),
|
||||
|
||||
Reference in New Issue
Block a user