open-law/app/views/main.py

12 lines
230 B
Python
Raw Normal View History

2023-04-20 13:10:16 +00:00
from flask import render_template, Blueprint
from flask_login import login_required
main_blueprint = Blueprint("main", __name__)
@main_blueprint.route("/")
@login_required
def index():
return render_template("index.html")