add top page

This commit is contained in:
Régis Hanol
2013-12-24 00:50:36 +01:00
parent b90e811825
commit 567d2bd23c
57 changed files with 532 additions and 324 deletions

View File

@@ -8,7 +8,6 @@ module Jobs
recurrence { hourly.minute_of_hour(3, 18, 33, 48) }
def execute(args)
# Update the average times
Post.calculate_avg_time
Topic.calculate_avg_time
@@ -25,6 +24,9 @@ module Jobs
# Refresh Hot Topics
HotTopic.refresh!
# Refresh Top Topics
TopTopic.refresh!
# Automatically close stuff that we missed
Topic.auto_close
end