Set blueprint paths in main app
Make blueprints more self-contained for no apparent reason.
This commit is contained in:
parent
abc7a0728b
commit
32b182856d
6 changed files with 10 additions and 10 deletions
|
@ -6,7 +6,7 @@ import flask_login
|
|||
from . import db
|
||||
from . import system
|
||||
|
||||
blueprint = flask.Blueprint('ipsets', __name__, url_prefix='/ipsets')
|
||||
blueprint = flask.Blueprint('ipsets', __name__)
|
||||
|
||||
@blueprint.route('/', methods=('GET', 'POST'))
|
||||
@flask_login.login_required
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue