mv sitekey edit to easy edit

This commit is contained in:
realaravinth 2021-12-18 16:41:00 +05:30
parent e874d1477d
commit fa9762200e
No known key found for this signature in database
GPG Key ID: AD9F0F08E855ED88

View File

@ -57,7 +57,10 @@ impl IndexPage {
}
/// route handler that renders individual views for sitekeys
#[my_codegen::get(path = "crate::PAGES.panel.sitekey.edit", wrap = "crate::CheckLogin")]
#[my_codegen::get(
path = "crate::PAGES.panel.sitekey.edit_advance",
wrap = "crate::CheckLogin"
)]
pub async fn edit_sitekey(
path: web::Path<String>,
data: AppData,
@ -121,7 +124,7 @@ mod test {
let app = get_app!(data).await;
let url = format!("/sitekey/{}/edit", &key.key);
let url = PAGES.panel.sitekey.get_edit_advance(&key.key);
let list_sitekey_resp = test::call_service(
&app,