Fix redirect after creating article

This commit is contained in:
Felix Ableitner 2024-03-08 14:39:47 +01:00
parent a39a7ae5e6
commit fab78f7911
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ pub fn CreateArticle() -> impl IntoView {
</button> </button>
} }
}> }>
<Redirect path={format!("/article/{}", title.get())} /> <Redirect path={format!("/article/{}", title.get().replace(' ', "_"))} />
</Show> </Show>
} }
} }