1
0
Fork 0
mirror of https://github.com/Nutomic/ibis.git synced 2024-11-25 19:31:09 +00:00

Fix redirect after creating article

This commit is contained in:
Felix Ableitner 2024-03-08 14:39:47 +01:00
parent a39a7ae5e6
commit fab78f7911

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>
} }
} }