Files
pyrom/app/routes/mod.py

28 lines
518 B
Python

from flask import Blueprint
bp = Blueprint('mod', __name__, url_prefix='/mod/')
@bp.get('/')
def index():
return 'stub'
@bp.get('/topics/new')
def new_topic():
return 'stub'
@bp.get('/topics/sort')
def sort_topics():
return 'stub'
@bp.post('/threads/<int:thread_id>/move')
def move_thread(thread_id):
return 'stub'
@bp.post('/threads/<int:thread_id>/lock')
def lock_thread(thread_id):
return 'stub'
@bp.post('/threads/<int:thread_id>/sticky')
def sticky_thread(thread_id):
return 'stub'