From 407ad301d1b1310df0360dd5cad46cd321cea77a Mon Sep 17 00:00:00 2001 From: kikito Date: Mon, 5 Dec 2016 17:35:00 +0100 Subject: [PATCH] Uses should_show_votes? instead of budget.selecting? --- app/views/budgets/investments/_votes.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/budgets/investments/_votes.html.erb b/app/views/budgets/investments/_votes.html.erb index 681c1c94c..81acd9749 100644 --- a/app/views/budgets/investments/_votes.html.erb +++ b/app/views/budgets/investments/_votes.html.erb @@ -13,7 +13,7 @@
<%= t("budget.investments.investment.already_supported") %>
- <% elsif investment.budget.selecting? %> + <% elsif investment.should_show_votes? %> <%= link_to vote_url, class: "button button-support small expanded",