mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-23 22:47:05 +01:00
11 lines
314 B
Python
11 lines
314 B
Python
from flask import g, render_template
|
|
|
|
from lnbits.decorators import check_user_exists, validate_uuids
|
|
from lnbits.extensions.example import example_ext
|
|
|
|
|
|
@example_ext.route("/")
|
|
@validate_uuids(["usr"], required=True)
|
|
@check_user_exists()
|
|
def index():
|
|
return render_template("example/index.html", user=g.user)
|