refactoring route names

This commit is contained in:
Per Stark
2024-12-23 10:18:25 +01:00
parent 3f32e9a500
commit 1f3e5a265b
7 changed files with 66 additions and 128 deletions

View File

@@ -3,9 +3,10 @@ use std::sync::Arc;
use axum::response::Html;
use minijinja_autoreload::AutoReloader;
pub mod auth;
pub mod index;
pub mod search_result;
pub mod signin;
pub mod signup;
pub trait PageData {
fn template_name() -> &'static str;