Modifica identificación de módulos y temas
This commit is contained in:
parent
3366a6acdc
commit
af9afca777
9 changed files with 49 additions and 21 deletions
|
|
@ -1,9 +1,9 @@
|
|||
use pagetop::prelude::*;
|
||||
|
||||
fn bootstrap() {
|
||||
register_module(&pagetop_admin::Admin);
|
||||
register_module(&pagetop_user::User);
|
||||
register_module(&pagetop_node::Node);
|
||||
include_module(&pagetop_admin::Admin);
|
||||
include_module(&pagetop_user::User);
|
||||
include_module(&pagetop_node::Node);
|
||||
}
|
||||
|
||||
#[actix_web::main]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue