start the new topics route and view
This commit is contained in:
6
app/routes/app.py
Normal file
6
app/routes/app.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from flask import Blueprint, redirect, url_for, render_template
|
||||
bp = Blueprint('app', __name__, url_prefix = '/')
|
||||
|
||||
@bp.get('/')
|
||||
def index():
|
||||
return redirect(url_for('topics.all_topics'))
|
||||
Reference in New Issue
Block a user