

from flask import Blueprint, render_template

from . import route

bp = Blueprint('dashboard', __name__)


@route(bp, '/')
def index():
    """Returns the dashboard interface."""
    return render_template('dashboard.html')



from flask import Blueprint, render_template

from . import route

bp = Blueprint('dashboard', __name__)


@route(bp, '/')
def index():
    """Returns the dashboard interface."""
    return render_template('dashboard.html')

Returns the dashboard interface.