Ver código fonte

Use postcode finder for most recent election

tags/last-sinatra-version
Adrian Short 6 anos atrás
pai
commit
41b525bb4f
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      app.rb

+ 1
- 1
app.rb Ver arquivo

@@ -65,7 +65,7 @@ helpers do
end

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)}"

if params[:postcode]


Carregando…
Cancelar
Salvar