Implémentation "HATEOAS" de l'interface pour HTMX et update des URLs qui fonctionne ! #57
@ -5,6 +5,6 @@ mod home;
|
|||||||
|
|
||||||
pub fn get_routes() -> Router {
|
pub fn get_routes() -> Router {
|
||||||
Router::new()
|
Router::new()
|
||||||
.route("/", axum::routing::get(home::home))
|
.route("/", routing::get(home::home))
|
||||||
florian_briand marked this conversation as resolved
Outdated
|
|||||||
.route("/cps", routing::get(cps::cps))
|
.route("/cps", routing::get(cps::cps))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user
micro typo
axum::routing
->routing