Flash messages using axum-messages
This commit is contained in:
5
src/routes/home.rs
Normal file
5
src/routes/home.rs
Normal file
@@ -0,0 +1,5 @@
|
||||
use axum::response::{Html, IntoResponse};
|
||||
|
||||
pub async fn home() -> impl IntoResponse {
|
||||
Html(include_str!("home/home.html"))
|
||||
}
|
||||
Reference in New Issue
Block a user