🔥 Remove minimal crate for PageTop integration
This commit is contained in:
parent
156429beb0
commit
7e21ddbf90
42 changed files with 0 additions and 5430 deletions
|
|
@ -16,5 +16,4 @@ license = "Apache-2.0 OR MIT"
|
|||
|
||||
[dependencies]
|
||||
pagetop = { version = "0.0", path = "../pagetop", features = ["database"], default-features = false }
|
||||
pagetop-minimal = { version = "0.0", path = "../pagetop-minimal" }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
use pagetop::prelude::*;
|
||||
use pagetop_minimal::component::*;
|
||||
|
||||
new_handle!(MODULE_USER);
|
||||
|
||||
|
|
@ -22,10 +21,6 @@ impl ModuleTrait for User {
|
|||
L10n::t("module_description", &LOCALES_USER)
|
||||
}
|
||||
|
||||
fn dependencies(&self) -> Vec<ModuleRef> {
|
||||
vec![&pagetop_minimal::Minimal]
|
||||
}
|
||||
|
||||
fn configure_service(&self, scfg: &mut service::web::ServiceConfig) {
|
||||
scfg.route("/user/login", service::web::get().to(login));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue