widget template

This commit is contained in:
realaravinth
2021-05-28 21:26:36 +05:30
parent 282b285afa
commit 2c209bf8d5
8 changed files with 249 additions and 44 deletions

View File

@@ -123,7 +123,7 @@ mod test {
let mut app = get_app!(data).await;
let url = format!("/sitekey/view/{}", &key.key);
let url = format!("/sitekey/{}/view", &key.key);
let list_sitekey_resp = test::call_service(
&mut app,

View File

@@ -29,6 +29,7 @@ pub struct Routes {
pub thanks: &'static str,
pub donate: &'static str,
pub security: &'static str,
pub privacy: &'static str,
}
impl Routes {
@@ -44,6 +45,7 @@ impl Routes {
thanks: "/thanks",
donate: "/donate",
security: "/security",
privacy: "/privacy-policy",
}
}
}