when using macros!() we need to import the things that they use

This commit is contained in:
Igor Galić
2020-01-27 23:45:09 +01:00
parent 45c335e17b
commit 022e037eea
6 changed files with 12 additions and 1 deletions
+2
View File
@@ -3,7 +3,9 @@
@use plume_models::posts::Post;
@use plume_models::tags::Tag;
@use plume_models::users::User;
@use rocket::http::RawStr;
@use std::path::Path;
@use std::path::PathBuf;
@use validator::ValidationErrors;
@use crate::templates::{base, partials::comment};
@use crate::template_utils::*;