aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 9623f4f..48070f7 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -32,7 +32,7 @@
//! # Cargo.toml
//!
//! [dependencies]
-//! windmark-comments = "0.1.2"
+//! windmark-comments = "0.1.3"
//! ```
//!
//! ### Attach Windmark Comments as a module (Windmark >= 0.1.8)
@@ -188,7 +188,7 @@ pub fn module(router: &mut windmark::Router) {
}),
);
- router.set_footer(Box::new(|_| {
+ router.add_footer(Box::new(|_| {
format!(
"## COMMENTS ({}/{})\n=> /api/post-comment Make a comment!\n{}",
if let Ok(comments) = COMMENTS.lock() {