Use consistent naming
This commit is contained in:
+1
-1
@@ -187,7 +187,7 @@ def create_app(config_name='development'):
|
||||
app.register_blueprint(dashboard.bp)
|
||||
app.register_blueprint(admin.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)
|
||||
@app.route('/health')
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
from flask import Blueprint, render_template, current_app
|
||||
from app.models.product import Product
|
||||
|
||||
landing_bp = Blueprint('landing', __name__)
|
||||
bp = Blueprint('landing', __name__)
|
||||
|
||||
|
||||
@landing_bp.route('/')
|
||||
@bp.route('/')
|
||||
def index():
|
||||
"""Landing page showing all active products for feedback submission
|
||||
|
||||
|
||||
Reference in New Issue
Block a user