open-law/app/views/main.py

10 lines
181 B
Python
Raw Normal View History

2023-05-10 11:51:08 +00:00
from flask import redirect, url_for, Blueprint
2023-04-28 11:24:38 +00:00
2023-04-20 13:10:16 +00:00
main_blueprint = Blueprint("main", __name__)
@main_blueprint.route("/")
def index():
2023-05-10 11:51:08 +00:00
return redirect(url_for("home.get_all"))