mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-09 07:03:25 +00:00
refactor: split backend by context instead of type 'controllers/models/...'
This commit is contained in:
3
app/home/routes/home_routes.ts
Normal file
3
app/home/routes/home_routes.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
import router from '@adonisjs/core/services/router';
|
||||
|
||||
router.on('/').renderInertia('home').as('home');
|
||||
1
app/home/routes/routes.ts
Normal file
1
app/home/routes/routes.ts
Normal file
@@ -0,0 +1 @@
|
||||
import './home_routes.js';
|
||||
Reference in New Issue
Block a user