@@ -328,10 +328,10 @@ end | |||||
# haml :aliens | # haml :aliens | ||||
# end | # end | ||||
get '/polling-stations' do | |||||
@stations = PollingStation.all | |||||
haml :pollingstations | |||||
end | |||||
# get '/polling-stations' do | |||||
# @stations = PollingStation.all | |||||
# haml :pollingstations | |||||
# end | |||||
not_found do | not_found do | ||||
haml :not_found | haml :not_found | ||||
@@ -22,8 +22,9 @@ | |||||
%a{ :href => '/bodies' } Bodies | %a{ :href => '/bodies' } Bodies | ||||
%p | %p | ||||
%a{ :href => '/candidates' } Candidates | %a{ :href => '/candidates' } Candidates | ||||
%p | |||||
%a{ :href => '/polling-stations' } Polling stations | |||||
-# | |||||
%p | |||||
%a{ :href => '/polling-stations' } Polling stations | |||||
%p | %p | ||||
%a{ :href => '/how-the-parliament-election-works' } How parliamentary elections work | %a{ :href => '/how-the-parliament-election-works' } How parliamentary elections work | ||||
%p | %p | ||||