Link to results without heading unless its on the results menu
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
|
||||
<% if @budget.finished? %>
|
||||
<%= link_to t("budgets.show.see_results"),
|
||||
budget_results_path(@budget, heading_id: @budget.headings.first),
|
||||
budget_results_path(@budget),
|
||||
class: "button margin-top expanded" %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
<% if @budget.finished? %>
|
||||
<li class="tabs-title">
|
||||
<span class="show-for-sr"><%= t("shared.you_are_in") %></span>
|
||||
<%= link_to t("budgets.results.link"), budget_results_path(@budget, heading_id: @budget.headings.first.to_param) %>
|
||||
<%= link_to t("budgets.results.link"), budget_results_path(@budget) %>
|
||||
</li>
|
||||
<% end %>
|
||||
<li class="tabs-title is-active">
|
||||
|
||||
Reference in New Issue
Block a user