Actualiza y simplifica la estructura del código

Revisión general del código fuente para asegurar los elementos que deben
ser públicos y estandarizar el uso de funciones globales.
This commit is contained in:
Manuel Cillero 2022-03-02 23:19:16 +01:00
parent 67952f6840
commit b6dd473578
34 changed files with 250 additions and 237 deletions

View file

@ -10,7 +10,7 @@ impl Theme for AlinerTheme {
}
fn fullname(&self) -> String {
"Aliner".to_string()
"Aliner".to_owned()
}
fn configure_theme(&self, cfg: &mut server::web::ServiceConfig) {

View file

@ -12,7 +12,7 @@ impl Theme for BootsierTheme {
}
fn fullname(&self) -> String {
"Bootsier".to_string()
"Bootsier".to_owned()
}
fn configure_theme(&self, cfg: &mut server::web::ServiceConfig) {

View file

@ -8,6 +8,6 @@ impl Theme for MinimalTheme {
}
fn fullname(&self) -> String {
"Minimal".to_string()
"Minimal".to_owned()
}
}