diff --git a/app/views/budgets/groups/show.html.erb b/app/views/budgets/groups/show.html.erb index a5850481d..5b5332eab 100644 --- a/app/views/budgets/groups/show.html.erb +++ b/app/views/budgets/groups/show.html.erb @@ -5,7 +5,7 @@
- <%= back_link_to budget_path(@budget) %> + <%= back_link_to budgets_path %>

<%= t("budgets.groups.show.title") %>

diff --git a/app/views/budgets/investments/_header.html.erb b/app/views/budgets/investments/_header.html.erb index 99f867367..d803ae9d6 100644 --- a/app/views/budgets/investments/_header.html.erb +++ b/app/views/budgets/investments/_header.html.erb @@ -4,13 +4,8 @@
- <% 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),