mirror of https://github.com/logos-co/open-law.git
hotfix: access to home pages
This commit is contained in:
parent
070c9fbcec
commit
f527f43b9e
|
@ -1,11 +1,8 @@
|
||||||
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