nopaque/app/contributions/routes.py

17 lines
295 B
Python
Raw Normal View History

from flask_login import login_required
from app.decorators import permission_required
from app.models import Permission
from . import bp
@bp.before_request
@login_required
@permission_required(Permission.CONTRIBUTE)
def before_request():
pass
@bp.route('')
def contributions():
pass