mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-13 11:05:40 +00:00
refactored sitekey routes
This commit is contained in:
@@ -26,7 +26,7 @@ lazy_static! {
|
||||
}
|
||||
|
||||
#[derive(TemplateOnce, Clone)]
|
||||
#[template(path = "panel/add-site-key/index.html")]
|
||||
#[template(path = "panel/sitekey/add/index.html")]
|
||||
pub struct IndexPage<'a> {
|
||||
pub levels: usize,
|
||||
pub form_title: &'a str,
|
||||
|
||||
@@ -24,7 +24,7 @@ use crate::errors::*;
|
||||
use crate::Data;
|
||||
|
||||
#[derive(TemplateOnce, Clone)]
|
||||
#[template(path = "panel/site-keys/index.html")]
|
||||
#[template(path = "panel/sitekey/list/index.html")]
|
||||
pub struct IndexPage {
|
||||
sitekeys: SiteKeys,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user