add trailing slashes to links where they were missing

Signed-off-by: Trinity Pointard <trinity.pointard@insa-rennes.fr>
This commit is contained in:
Trinity Pointard
2018-05-22 17:35:16 +02:00
parent 045e885821
commit a8aeb40b95
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ fn create(conn: DbConn, data: Form<NewBlogForm>, user: User) -> Redirect {
is_owner: true
});
Redirect::to(format!("/~/{}", slug).as_str())
Redirect::to(format!("/~/{}/", slug).as_str())
}
#[get("/~/<name>/outbox")]