mirror of https://github.com/Nutomic/ibis.git
Fix redirect after creating article
This commit is contained in:
parent
a39a7ae5e6
commit
fab78f7911
|
@ -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>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue