From 9b1f6d3628884059753169f4dd6e018bab74c40f Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 1 May 2018 20:49:19 +0200 Subject: refactor(db/render/schema): Use SimplePost type for thread views This uses the simplified view for querying posts instead of the post table directly to display posts. --- src/render.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/render.rs') diff --git a/src/render.rs b/src/render.rs index 9a81d2c4cc17..bc1197bc15f1 100644 --- a/src/render.rs +++ b/src/render.rs @@ -89,7 +89,7 @@ impl Handler for Renderer { pub struct ThreadPage { pub current_user: Option, pub thread: Thread, - pub posts: Vec, + pub posts: Vec, } message!(ThreadPage, Result); -- cgit 1.4.1