Explorar el Código

Use postcode finder for most recent election

tags/last-sinatra-version
Adrian Short hace 6 años
padre
commit
41b525bb4f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      app.rb

+ 1
- 1
app.rb Ver fichero

@@ -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]


Cargando…
Cancelar
Guardar