13 lines
291 B
Python
13 lines
291 B
Python
from flask import Blueprint
|
|
from flask import render_template
|
|
|
|
from capsulflask.db import get_model
|
|
from capsulflask.auth import account_required
|
|
|
|
bp = Blueprint("btcpay", __name__, url_prefix="/btcpay")
|
|
|
|
@bp.route("/")
|
|
@account_required
|
|
def index():
|
|
return render_template("btcpay.html")
|