|
@@ -65,7 +65,7 @@ helpers do |
|
|
end |
|
|
end |
|
|
|
|
|
|
|
|
get '/' do |
|
|
get '/' do |
|
|
@election = Election.get(12) # FIXME magic number |
|
|
|
|
|
|
|
|
@election = Election.last # most recent election |
|
|
@election_title = "#{@election.body.name} #{@election.kind} #{long_date(@election.d)}" |
|
|
@election_title = "#{@election.body.name} #{@election.kind} #{long_date(@election.d)}" |
|
|
|
|
|
|
|
|
if params[:postcode] |
|
|
if params[:postcode] |
|
|