about summary refs log tree commit diff
path: root/src/handlers.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/handlers.rs')
-rw-r--r--src/handlers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handlers.rs b/src/handlers.rs
index 43bc69afe828..05b73a699196 100644
--- a/src/handlers.rs
+++ b/src/handlers.rs
@@ -131,7 +131,7 @@ pub fn reply_thread(state: State<AppState>,
             let post = res?;
             info!("Posted reply {} to thread {}", post.id, post.thread_id);
             Ok(HttpResponse::SeeOther()
-               .header("Location", format!("/thread/{}#post{}", post.thread_id, post.id))
+               .header("Location", format!("/thread/{}#post-{}", post.thread_id, post.id))
                .finish())
         })
         .responder()