mirror of
https://github.com/Nutomic/ibis.git
synced 2024-12-26 12:11:22 +00:00
Fix redirect after creating article
This commit is contained in:
parent
a39a7ae5e6
commit
fab78f7911
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ pub fn CreateArticle() -> impl IntoView {
|
|||
</button>
|
||||
}
|
||||
}>
|
||||
<Redirect path={format!("/article/{}", title.get())} />
|
||||
<Redirect path={format!("/article/{}", title.get().replace(' ', "_"))} />
|
||||
</Show>
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue