start the new topics route and view

This commit is contained in:
2026-04-12 23:36:50 +03:00
parent 099b5c135e
commit ce9bca0a75
11 changed files with 141 additions and 34 deletions

6
app/routes/app.py Normal file
View 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'))