<?php
$app = require '../../app/inc.php';

$model = $app->model('Teamtable');

$teams = $model->getAll();

$app->view('template/header', ['title' => 'Lagtabell']);
$app->view('pages/teamtable/index', ["teams" => $teams]);
$app->view('template/footer');