open-law/app/views/main.py

10 lines
181 B
Python

from flask import redirect, url_for, Blueprint
main_blueprint = Blueprint("main", __name__)
@main_blueprint.route("/")
def index():
return redirect(url_for("home.get_all"))