<?php

/**
 * Face Module Routes
 *
 * @var \CodeIgniter\Router\RouteCollection $routes
 */

$routes->group('api/face', [
    'namespace' => 'App\Modules\Face\Controllers',
], function ($routes) {
    $routes->post('import-formal', 'FaceController::importFormal', ['filter' => 'admin_only']);
    $routes->post('enroll-live', 'FaceController::enrollLive');
});

