From c7670d418bc7b1103046a7f312a23ec2547a9b63 Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Thu, 14 May 2015 23:29:08 +0100 Subject: [PATCH] Disable polling stations page --- app.rb | 8 ++++---- views/layout.haml | 5 +++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/app.rb b/app.rb index 35439d8..be81564 100644 --- a/app.rb +++ b/app.rb @@ -328,10 +328,10 @@ end # haml :aliens # end -get '/polling-stations' do - @stations = PollingStation.all - haml :pollingstations -end +# get '/polling-stations' do +# @stations = PollingStation.all +# haml :pollingstations +# end not_found do haml :not_found diff --git a/views/layout.haml b/views/layout.haml index f72f177..9e119b3 100644 --- a/views/layout.haml +++ b/views/layout.haml @@ -22,8 +22,9 @@ %a{ :href => '/bodies' } Bodies %p %a{ :href => '/candidates' } Candidates - %p - %a{ :href => '/polling-stations' } Polling stations + -# + %p + %a{ :href => '/polling-stations' } Polling stations %p %a{ :href => '/how-the-parliament-election-works' } How parliamentary elections work %p