16 lines
319 B
Python
16 lines
319 B
Python
from flask import Blueprint, render_template
|
|
|
|
from web.services.narrative_service import NarrativeService
|
|
|
|
|
|
bp = Blueprint('reports', __name__, url_prefix='/reports')
|
|
|
|
|
|
@bp.route('/')
|
|
def index():
|
|
return render_template(
|
|
'reports/index.html',
|
|
reports=NarrativeService.list_match_reports(50),
|
|
)
|
|
|