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')