Use consistent naming
This commit is contained in:
@@ -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