aboutsummaryrefslogtreecommitdiff
path: root/src/contrib/admin/site
diff options
context:
space:
mode:
Diffstat (limited to 'src/contrib/admin/site')
-rw-r--r--src/contrib/admin/site/urls.rs8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/contrib/admin/site/urls.rs b/src/contrib/admin/site/urls.rs
index 5e81c4e..ef23d55 100644
--- a/src/contrib/admin/site/urls.rs
+++ b/src/contrib/admin/site/urls.rs
@@ -1,3 +1,7 @@
-use crate::urls::Path;
+use crate::http::{Filter, Reply};
+use crate::urls::{UrlMap, path};
-pub const URL_PATTERNS: &[Path] = &[];
+pub fn urls() -> UrlMap {
+ path::end().map(|| Reply::into_response("bruh"))
+ .boxed()
+}