open-law/app/views/main.py

12 lines
230 B
Python

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")