Adds links, texts and i18n

This commit is contained in:
Alberto Garcia Cabeza
2016-09-07 12:46:29 +02:00
parent a527de4f92
commit b107790039
8 changed files with 78 additions and 13 deletions

View File

@@ -28,6 +28,7 @@ class ProposalsController < ApplicationController
def index_customization
load_retired
load_featured
load_proposal_ballots
end
def vote
@@ -97,4 +98,8 @@ class ProposalsController < ApplicationController
end
end
def load_proposal_ballots
@proposal_ballots = Proposal.successfull.sort_by_confidence_score
end
end