feat(pets): updates pets view

This commit is contained in:
2024-12-06 22:38:10 -03:00
parent 1f65b3681e
commit 981a282f12
3 changed files with 120 additions and 7 deletions

View File

@@ -4,4 +4,8 @@ from app.services.pet_service import PetService
@bp.route('/')
def index():
return render_template("pets/index.html", options=PetService.get_options(request))
return render_template(
"pets/index.html",
options=PetService.get_options(request),
pagination_result=PetService.get_pets(request)
)