mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 10:54:18 +00:00
12 lines
222 B
Python
12 lines
222 B
Python
from flask import Blueprint
|
|
|
|
|
|
main = Blueprint('main', __name__)
|
|
from . import errors, views
|
|
from app.models import Permission
|
|
|
|
|
|
@main.app_context_processor
|
|
def inject_permissions():
|
|
return dict(Permission=Permission)
|