Skip to content

Commit cbc3f1f

Browse files
authored
docs: fix import syntax (#153)
1 parent b64f1de commit cbc3f1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/preface/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ AdonisJS embraces the classic MVC design pattern. You start by defining the rout
4040
```ts
4141
// title: start/routes.ts
4242
import router from '@adonisjs/core/services/router'
43-
const PostsController = () => import(`'#controllers`/posts_controller')
43+
const PostsController = () => import('#controllers/posts_controller')
4444

4545
router.get('posts', [PostsController, 'index'])
4646
```

0 commit comments

Comments
 (0)