sitekey list

This commit is contained in:
realaravinth
2021-05-04 18:34:36 +05:30
parent 3ac95e1005
commit 98719670df
15 changed files with 230 additions and 49 deletions

View File

@@ -22,13 +22,15 @@ pub mod routes {
pub struct Sitekey {
pub list: &'static str,
pub add: &'static str,
pub view: &'static str,
}
impl Sitekey {
pub const fn new() -> Self {
Sitekey {
list: "/sitekey",
list: "/sitekey/list",
add: "/sitekey/add",
view: "/sitekey/{key}/view",
}
}
}