CompetitionController::edit($id);
});
$routes->post('/competition/:id/edit', function ($id) {
    CompetitionController::update($id);
});
$routes->post('/competition/:id/destroy', function ($id) {
    CompetitionController::destroy($id);
});
$routes->get('/competition/:id/participants', function ($id) {
    ParticipantController::competition_participants($id);
});
$routes->get('/competitor/:id/participations', function ($id) {
    ParticipantController::competitor_participations($id);
});
$routes->post('/participant', function () {
    ParticipantController::store();
});
$routes->get('/competition/:id/participants/new', function ($id) {
    ParticipantController::create($id);
});
$routes->get('/participant/:id/edit', function ($id) {
    ParticipantController::edit($id);
});
$routes->post('/participant/:id/edit', function ($id) {
    ParticipantController::update($id);
});
$routes->post('/participant/:id/destroy', function ($id) {
    ParticipantController::destroy($id);
});
$routes->get('/competition/:id/splits', function ($id) {
    SplitController::competition_splits($id);