diff --git a/app/templates/layout/menu.html b/app/templates/layout/menu.html index 5e73f8c..a1cca12 100644 --- a/app/templates/layout/menu.html +++ b/app/templates/layout/menu.html @@ -5,17 +5,27 @@ {% if menu_type == "movil" %} + {% if session["id"] %} + + {% endif %} {% else %} {% endif %} diff --git a/app/utils/route_const.py b/app/utils/route_const.py index 2c21a87..1b501b7 100644 --- a/app/utils/route_const.py +++ b/app/utils/route_const.py @@ -6,7 +6,10 @@ ROUTES = { 'register' : '/users/register', 'logout': '/users/logout' }, - 'pets': '/pets', + 'pets': { + 'index': '/pets', + 'register': '/pets/register' + }, 'about-us' : '/us/about', 'contact-us' : '/us/contact' } \ No newline at end of file