mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-08 22:53:25 +00:00
13 lines
353 B
TypeScript
13 lines
353 B
TypeScript
import router from '@adonisjs/core/services/router';
|
|
const AppsController = () => import('#controllers/apps_controller');
|
|
|
|
/**
|
|
* All routes for both logged and guest users
|
|
*/
|
|
router.group(() => {
|
|
router.get('/', [AppsController, 'index']).as('home');
|
|
router
|
|
.post('/user/theme', [AppsController, 'updateUserTheme'])
|
|
.as('user.theme');
|
|
});
|