Replies: 1 comment
-
You need to add the domain to the route. eg. router
.builderForDomain('moms.test')
.make('moms.join') |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am getting the above error when I try to use an edge template with the route() helper in it.
This is the line in the Edge template:
Join!
That route shows up in list:routes:
GET /join (moms.join) .................................................. #controllers/join_controller.join
What am I doing wrong? Please let me know what additional information is needed.
Thank you.
EDIT:
I should probably add that the 'moms' at the start of that route name is for a domain:
router
.group(() => {
router.get('/join', [JoinController, 'join']).as('join')
})
.domain('moms.test')
.as('moms')
Beta Was this translation helpful? Give feedback.
All reactions