feat: persist sidebar state
This commit is contained in:
parent
61eaa268ab
commit
de0e87cd71
4 changed files with 36 additions and 2 deletions
|
|
@ -33,6 +33,7 @@ func SetupRoutes(a *app.App) http.Handler {
|
|||
middleware.CSRFProtection,
|
||||
middleware.AuthMiddleware(a.AuthService, a.UserService),
|
||||
middleware.WithURLPath,
|
||||
middleware.WithSidebarState,
|
||||
)
|
||||
|
||||
// Static assets (bypass router groups — registered directly on mux)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue