20 lines
658 B
PHP
20 lines
658 B
PHP
<?php
|
|
|
|
/**
|
|
* Students Module Routes
|
|
*
|
|
* This file is automatically loaded by ModuleLoader.
|
|
* Define your student management routes here.
|
|
*
|
|
* @var RouteCollection $routes
|
|
*/
|
|
|
|
// Example route structure (uncomment and modify as needed):
|
|
// $routes->group('api/students', ['namespace' => 'App\Modules\Students\Controllers'], function($routes) {
|
|
// $routes->get('/', 'StudentController::index');
|
|
// $routes->get('(:num)', 'StudentController::show/$1');
|
|
// $routes->post('/', 'StudentController::create');
|
|
// $routes->put('(:num)', 'StudentController::update/$1');
|
|
// $routes->delete('(:num)', 'StudentController::delete/$1');
|
|
// });
|