Cleaned up code
This commit is contained in:
@@ -19,7 +19,7 @@ def index():
|
||||
return render_template("index.html", content="stats.html", data=test)
|
||||
|
||||
|
||||
@blueprint.route('/product/<int:id>')
|
||||
@blueprint.route('/products/<int:id>')
|
||||
def view_product_stats(id: int):
|
||||
""" Page to view statistics for a given product """
|
||||
db = StatsController()
|
||||
@@ -42,7 +42,7 @@ def view_product_stats(id: int):
|
||||
)
|
||||
|
||||
|
||||
@blueprint.route('/user/<int:id>')
|
||||
@blueprint.route('/users/<int:id>')
|
||||
def view_user_stats(id: int):
|
||||
""" Page to view statistics for a given user """
|
||||
db = StatsController()
|
||||
|
||||
Reference in New Issue
Block a user