diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 4aa448d..ed1d72a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -36,6 +36,6 @@ fn main() { rocket::ignite() .manage(rocket_blog::init_db_pool()) .mount("/", routes![index, index_json]) - .mount("/posts", routes![posts::new, posts::create]) + .mount("/posts", routes![posts::new, posts::create, posts::show]) .launch(); } |