summaryrefslogtreecommitdiff
path: root/src/template.rs
diff options
context:
space:
mode:
authorJomar Milan <jomarm@jomarm.com>2026-05-31 12:22:41 -0700
committerJomar Milan <jomarm@jomarm.com>2026-05-31 12:22:41 -0700
commita2e55df0eeea9709175dd0a26c1e09bdaa60841a (patch)
tree584103be1f6b7d615cbc8d4e117e0107732fedda /src/template.rs
parente104c8ed4a41e790dfd03e822a923c4df7b082b3 (diff)
Add websocket route
Diffstat (limited to 'src/template.rs')
-rw-r--r--src/template.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/template.rs b/src/template.rs
index 5424883..8a36a09 100644
--- a/src/template.rs
+++ b/src/template.rs
@@ -11,5 +11,6 @@ pub struct IndexTemplate<'a> {
#[derive(Template)]
#[template(path = "session.html")]
pub struct SessionTemplate<'a> {
+ pub id: &'a String,
pub session: &'a Session,
}