Merge pull request #205 from lthms/recent_rocket

Update to a more recent rocket and rust toolchain
This commit is contained in:
Baptiste Gelez
2018-09-08 19:06:52 +01:00
committed by GitHub
17 changed files with 1096 additions and 736 deletions
+4 -1
View File
@@ -75,7 +75,10 @@ fn activity_details(blog: String, slug: String, conn: DbConn, _ap: ApRequest) ->
#[get("/~/<blog>/new", rank = 2)]
fn new_auth(blog: String) -> Flash<Redirect> {
utils::requires_login("You need to be logged in order to write a new post", uri!(new: blog = blog))
utils::requires_login(
"You need to be logged in order to write a new post",
uri!(new: blog = blog).into()
)
}
#[get("/~/<blog>/new", rank = 1)]