<?php

/**
 * Parent Module Routes
 *
 * This file is automatically loaded by ModuleLoader.
 * Define your parent portal routes here.
 *
 * @var \CodeIgniter\Router\RouteCollection $routes
 */

$routes->group('api/parent', [
    'namespace' => 'App\Modules\Parent\Controllers',
    'filter'    => 'dashboard_auth',
], function ($routes) {
    $routes->get('children', 'ParentController::children');
    $routes->get('attendance', 'ParentController::attendance');
    $routes->get('discipline', 'ParentController::discipline');
});
