nopaque/app/main/views.py
2019-11-04 09:03:31 +01:00

15 lines
322 B
Python

from flask import render_template
from flask_login import login_required
from . import main
@main.route('/')
def index():
return render_template('main/index.html.j2', title='Opaque')
@main.route('/dashboard')
@login_required
def dashboard():
return render_template('main/dashboard.html.j2', title='Dashboard')