summaryrefslogtreecommitdiff
path: root/app/modules/products/routes.py
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2022-07-24 16:00:28 +0200
committerMarius Peter <marius.peter@tutanota.com>2022-07-24 16:00:28 +0200
commit18a64c63920bdaba1b8348493b8e7eb1cdc81294 (patch)
treef48032f9f13352500c0d7ccdabb46336c9dc5be7 /app/modules/products/routes.py
parentffaee081c018b0e254844910fd3878f916196054 (diff)
Modules paths.
Diffstat (limited to 'app/modules/products/routes.py')
-rw-r--r--app/modules/products/routes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/modules/products/routes.py b/app/modules/products/routes.py
index 735fef9..369c801 100644
--- a/app/modules/products/routes.py
+++ b/app/modules/products/routes.py
@@ -13,7 +13,7 @@ products = Blueprint("products", __name__)
@products.route("/modules/products")
@login_required
-def list():
+def view():
modules = Module.query.all()
prods = Product.query.order_by(Product.primary_key.desc())
module = "products"
Copyright 2019--2024 Marius PETER