Save config

This commit is contained in:
Daniel García
2019-02-02 17:45:25 +01:00
parent 877408b808
commit ade293cf52
2 changed files with 14 additions and 7 deletions

View File

@ -98,7 +98,7 @@ impl AdminTemplateData {
Self {
users,
page_content: String::from("admin/page"),
config: serde_json::to_string_pretty(&CONFIG.get_config()).unwrap(),
config: CONFIG.get_config(),
}
}