We can't mix GET and POST (in the comment form)

in_response_to was always null
This commit is contained in:
Bat
2018-06-27 00:19:18 +02:00
parent b26649e8c0
commit 68a041711c
8 changed files with 36 additions and 27 deletions
+5 -1
View File
@@ -17,7 +17,11 @@ use plume_models::{
safe_string::SafeString,
users::User
};
use routes::comments::CommentQuery;
#[derive(FromForm)]
struct CommentQuery {
responding_to: Option<i32>
}
// See: https://github.com/SergioBenitez/Rocket/pull/454
#[get("/~/<blog>/<slug>", rank = 4)]