diff options
author | Martin Fischer <martin@push-f.com> | 2021-07-04 22:27:41 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2021-07-04 22:27:41 +0200 |
commit | a803509255ce1f5edc6e77e9e483a721978e9b83 (patch) | |
tree | 90edaf0d149212db605b1ce1f4acc00b4bf6b252 /src/controller.rs | |
parent | 4c824bad097118f95fa738468e5dd368b6c14ca8 (diff) |
move src/help/*.html files to src/static/
Diffstat (limited to 'src/controller.rs')
-rw-r--r-- | src/controller.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/controller.rs b/src/controller.rs index 168bc76..3e9fb29 100644 --- a/src/controller.rs +++ b/src/controller.rs @@ -452,10 +452,10 @@ impl Controller for MultiUserController { fn edit_hint_html(&self, ctx: &Context) -> Option<String> { match (ctx.branch.0.as_str(), ctx.path.to_str().unwrap()) { (_, ".shares.txt") => { - return Some(include_str!("help/shares.txt.html").into()); + return Some(include_str!("static/help_shares.txt.html").into()); } ("gitpad", "users.toml") => { - return Some(include_str!("help/users.toml.html").into()); + return Some(include_str!("static/help_users.toml.html").into()); } _ => {} } |