/:thread_id -> /thread/:thread_id, delete old /post_pic route

This commit is contained in:
Swrup 2022-02-19 17:46:01 +01:00
parent 275c5353a2
commit a255086a16
3 changed files with 12 additions and 9 deletions

View file

@ -6,7 +6,7 @@ let f thread_view thread_id request =
% | Some _ ->
<div class="post-form">
<%s! Dream.form_tag ~action:( Format.sprintf "/%s" thread_id)
<%s! Dream.form_tag ~action:( Format.sprintf "/thread/%s" thread_id)
~enctype:`Multipart_form_data request %>
<label for="reply-comment" id="reply-comment-label" class="form-label">Comment:</label>