changed the route from posts to post

pull/1/head
kirbylife 2019-11-18 02:16:16 -06:00
parent d8a4c2b03e
commit 615ca6c300
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ fn get_post(id_number: i32) -> Post {
post.unwrap()
}
#[get("/posts/<title>")]
#[get("/post/<title>")]
fn show_post(title: String) -> Template {
let mut context = Context::new();