start stubbing out endpoints
This commit is contained in:
15
app/routes/mod.py
Normal file
15
app/routes/mod.py
Normal file
@@ -0,0 +1,15 @@
|
||||
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'
|
||||
Reference in New Issue
Block a user