feat(main/templates): Add barebones single-thread view

This commit is contained in:
Vincent Ambo 2018-04-08 18:02:01 +02:00
parent 7dca9183c5
commit 6e56f8e729
4 changed files with 43 additions and 3 deletions

View file

@ -8,7 +8,7 @@ pub struct Thread {
pub posted: DateTime<Utc>,
}
#[derive(Queryable)]
#[derive(Queryable, Serialize)]
pub struct Post {
pub id: i32,
pub thread: i32,