start stubbing out endpoints
This commit is contained in:
11
app/routes/threads.py
Normal file
11
app/routes/threads.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from flask import Blueprint
|
||||
|
||||
bp = Blueprint('threads', __name__, url_prefix='/threads/')
|
||||
|
||||
@bp.get('/<slug>')
|
||||
def thread(slug):
|
||||
return 'stub'
|
||||
|
||||
@bp.get('/new')
|
||||
def new():
|
||||
return 'stub'
|
||||
Reference in New Issue
Block a user