summary refs log tree commit diff stats
path: root/web
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2025-01-21 18:44:17 +0000
committerStar Rauchenberger <fefferburbia@gmail.com>2025-01-21 18:44:17 +0000
commit8aaa9645d1137b8c2f7b5bbf08fa3e3e1c8aa942 (patch)
treee5c10e9a0dddb3c04433ccbd1239ffb5935dd528 /web
parent844da00b5cf38b1478f2234170451935b3b6c563 (diff)
downloadlingo-8aaa9645d1137b8c2f7b5bbf08fa3e3e1c8aa942.tar.gz
lingo-8aaa9645d1137b8c2f7b5bbf08fa3e3e1c8aa942.tar.bz2
lingo-8aaa9645d1137b8c2f7b5bbf08fa3e3e1c8aa942.zip
Fixed scoreboard not working for the entire past year
Diffstat (limited to 'web')
-rw-r--r--web/web.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/web.rb b/web/web.rb index 15c088e..8685de3 100644 --- a/web/web.rb +++ b/web/web.rb
@@ -10,6 +10,8 @@ use Rack::Cache
10config = YAML.load(open("config.yml")) 10config = YAML.load(open("config.yml"))
11db = Sequel.connect("sqlite://#{config["database"]}") 11db = Sequel.connect("sqlite://#{config["database"]}")
12 12
13Sequel::Model.plugin :timestamps
14
13class LingoScore < Sequel::Model 15class LingoScore < Sequel::Model
14end 16end
15 17