From 50ef23205f63241129ba72d2aadbab0514e4099d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20Baza=CC=81n?= Date: Thu, 8 Sep 2016 12:42:28 +0200 Subject: [PATCH] avoids loading featured proposals if voting notice --- app/controllers/proposals_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/proposals_controller.rb b/app/controllers/proposals_controller.rb index 898ad9949..ee241c49b 100644 --- a/app/controllers/proposals_controller.rb +++ b/app/controllers/proposals_controller.rb @@ -27,8 +27,8 @@ class ProposalsController < ApplicationController def index_customization load_retired - load_featured load_proposal_ballots + load_featured if @proposal_ballots.blank? end def vote