Pārlūkot izejas kodu

Fixed commenting error

tags/last-sinatra-version
Adrian Short pirms 14 gadiem
vecāks
revīzija
3e8e53c3ea
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. +3
    -3
      app.rb

+ 3
- 3
app.rb Parādīt failu

@@ -39,9 +39,9 @@ get '/' do
ORDER BY votes desc
;")

select p.name, count(c.*) AS seats
FROM parties p, councilcandidates c
GROUP BY p.id
# select p.name, count(c.*) AS seats
# FROM parties p, councilcandidates c
# GROUP BY p.id

@total_votes = Councilcandidate.sum(:votes_2010)


Notiek ielāde…
Atcelt
Saglabāt