♻️ (pagetop): Adapta extensiones a Routes y StaticFiles
This commit is contained in:
parent
4062a57cff
commit
a0416e5670
7 changed files with 18 additions and 18 deletions
|
|
@ -9,8 +9,8 @@ impl Extension for TestApp {
|
|||
vec![&Htmx]
|
||||
}
|
||||
|
||||
fn configure_router(&self, router: Router) -> Router {
|
||||
router.route("/page", web::get(render_page))
|
||||
fn configure_router(&self, routes: Routes) -> Routes {
|
||||
routes.public_route("/page", web::get(render_page))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue