Moves banner to a partial and includes it on debates index

This commit is contained in:
Alberto Garcia Cabeza
2016-09-14 11:09:36 +02:00
parent 076e237320
commit db6f82fa4c
6 changed files with 18 additions and 12 deletions

View File

@@ -22,6 +22,7 @@ class DebatesController < ApplicationController
def index_customization
@featured_debates = @debates.featured
@proposal_ballots = Proposal.successfull.sort_by_confidence_score
end
def show