123456789101112131415 |
- <?php
- // Copyright 2019 Hackware SpA <human@hackware.cl>
- // "Hackware Web Services Core" is released under the MIT License terms.
- app('router')->group(
- ['namespace' => 'Hawese\Core\Http\Controllers'],
- function ($router) {
- $router->get('/', 'HomeController@index');
- $router->get('/auth/whoami', 'AuthController@whoami');
- $router->post('/auth/login', 'AuthController@login');
- $router->post('/auth/logout', 'AuthController@logout');
- $router->post('/auth/email-token', 'AuthController@emailToken');
- }
- );
|