Use consistent naming

This commit is contained in:
2025-10-17 15:09:38 +02:00
parent 0ce55123bb
commit b2e582bd9c
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -187,7 +187,7 @@ def create_app(config_name='development'):
app.register_blueprint(dashboard.bp) app.register_blueprint(dashboard.bp)
app.register_blueprint(admin.bp) app.register_blueprint(admin.bp)
app.register_blueprint(auth.bp) app.register_blueprint(auth.bp)
app.register_blueprint(landing.landing_bp) # Landing page (product selection) app.register_blueprint(landing.bp) # Landing page (product selection)
# Health check endpoint (T208) # Health check endpoint (T208)
@app.route('/health') @app.route('/health')
+2 -2
View File
@@ -2,10 +2,10 @@
from flask import Blueprint, render_template, current_app from flask import Blueprint, render_template, current_app
from app.models.product import Product from app.models.product import Product
landing_bp = Blueprint('landing', __name__) bp = Blueprint('landing', __name__)
@landing_bp.route('/') @bp.route('/')
def index(): def index():
"""Landing page showing all active products for feedback submission """Landing page showing all active products for feedback submission