More RESTful name
This commit is contained in:
parent
e6ed37ad5e
commit
78aa03b2fb
@ -2,7 +2,7 @@ from flask import Blueprint
|
|||||||
|
|
||||||
bp_errors = Blueprint('errors', __name__)
|
bp_errors = Blueprint('errors', __name__)
|
||||||
bp = Blueprint('api', __name__)
|
bp = Blueprint('api', __name__)
|
||||||
bp_product = Blueprint('product', __name__, url_prefix="/product")
|
bp_product = Blueprint('products', __name__, url_prefix="/products")
|
||||||
bp_user = Blueprint('user', __name__, url_prefix="/user")
|
bp_user = Blueprint('user', __name__, url_prefix="/user")
|
||||||
bp_cart = Blueprint('cart', __name__, url_prefix="/cart")
|
bp_cart = Blueprint('cart', __name__, url_prefix="/cart")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user