ensure trailing slashes in all routes
This commit is contained in:
@@ -2,6 +2,6 @@ from flask import Blueprint
|
||||
|
||||
bp = Blueprint('posts', __name__, url_prefix='/posts/')
|
||||
|
||||
@bp.get('/<int:post_id>/edit')
|
||||
@bp.get('/<int:post_id>/edit/')
|
||||
def edit(post_id):
|
||||
return 'stub'
|
||||
|
||||
Reference in New Issue
Block a user