aboutsummaryrefslogtreecommitdiff
path: root/src/get_routes.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/get_routes.rs')
-rw-r--r--src/get_routes.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/get_routes.rs b/src/get_routes.rs
index 5e65637..951c7b6 100644
--- a/src/get_routes.rs
+++ b/src/get_routes.rs
@@ -109,7 +109,7 @@ fn view_blob<C: Controller>(
return Ok(page.into());
}
if let Some(renderer) = get_renderer(&ctx.path) {
- renderer(text, &mut page, RenderMode::View);
+ renderer(text, &mut page, RenderMode::View, &ctx);
} else {
page.body
.push_str(&format!("<pre>{}</pre>", html_escape(text)));