feat: slug in url if /t is enabled
This commit is contained in:
parent
bf3bd3dff5
commit
29f29358fd
3 changed files with 162 additions and 10 deletions
|
|
@ -259,6 +259,15 @@ pub fn CombinedApp() -> impl IntoView {
|
|||
<Route path=StaticSegment("home") view=HomePage />
|
||||
<Route path=StaticSegment("password-reset") view=PasswordResetPage />
|
||||
<Route path=(StaticSegment("realms"), ParamSegment("slug")) view=RealmPage />
|
||||
<Route
|
||||
path=(
|
||||
StaticSegment("realms"),
|
||||
ParamSegment("slug"),
|
||||
StaticSegment("scenes"),
|
||||
ParamSegment("scene_slug"),
|
||||
)
|
||||
view=RealmPage
|
||||
/>
|
||||
|
||||
// ==========================================
|
||||
// Admin routes (lazy loading)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue