add threads n posts
This commit is contained in:
@ -19,7 +19,7 @@ local ThreadCreateError = {
|
||||
TOPIC_LOCKED = 3,
|
||||
}
|
||||
|
||||
app:get("all_topics", "/", function(self)
|
||||
app:get("all_topics", "", function(self)
|
||||
self.topic_list = db.query("select * from topics limit 25;")
|
||||
self.user = util.get_logged_in_user(self) or util.TransientUser
|
||||
return {render = "topics.topics"}
|
||||
|
Reference in New Issue
Block a user