瀏覽代碼

Fixed commenting error

tags/last-sinatra-version
Adrian Short 14 年之前
父節點
當前提交
3e8e53c3ea
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. +3
    -3
      app.rb

+ 3
- 3
app.rb 查看文件

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


Loading…
取消
儲存