Explorar el Código

Show links for all bodies in footer

Saves users having to drill down
tags/last-sinatra-version
Adrian Short hace 9 años
padre
commit
c53205a00d
Se han modificado 1 ficheros con 5 adiciones y 2 borrados
  1. +5
    -2
      views/layout.haml

+ 5
- 2
views/layout.haml Ver fichero

@@ -18,8 +18,11 @@
%h1 Sutton Elections
%p
%a{ :href => '/' } Home
%p
%a{ :href => '/bodies' } Bodies
- Body.each do |body|
%p
%a{ :href => "/bodies/#{body.slug}" }
= body.name
elections
%p
%a{ :href => '/candidates' } Candidates
-#


Cargando…
Cancelar
Guardar