mirror of https://github.com/logos-co/open-law.git
cancel last hotfix
This commit is contained in:
parent
f527f43b9e
commit
9c50679205
|
@ -1,8 +1,11 @@
|
||||||
from flask import render_template, Blueprint
|
from flask import render_template, Blueprint
|
||||||
|
from flask_login import login_required
|
||||||
|
|
||||||
|
|
||||||
main_blueprint = Blueprint("main", __name__)
|
main_blueprint = Blueprint("main", __name__)
|
||||||
|
|
||||||
|
|
||||||
@main_blueprint.route("/")
|
@main_blueprint.route("/")
|
||||||
|
@login_required
|
||||||
def index():
|
def index():
|
||||||
return render_template("index.html")
|
return render_template("index.html")
|
||||||
|
|
Loading…
Reference in New Issue