aboutsummaryrefslogtreecommitdiffstats
path: root/src/controllers/home_controller.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/controllers/home_controller.rs')
-rw-r--r--src/controllers/home_controller.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controllers/home_controller.rs b/src/controllers/home_controller.rs
index 6cfa736..fb88d07 100644
--- a/src/controllers/home_controller.rs
+++ b/src/controllers/home_controller.rs
@@ -12,7 +12,7 @@ use rocket_contrib::Json;
use std::path::PathBuf;
use posts_controller::ShowPostTemplate;
-#[derive(BartDisplay, Serialize)]
+#[derive(BartDisplay)]
#[template = "templates/index.html"]
struct IndexTemplate {
posts: Vec<ShowPostTemplate>