Closed lenoraporter closed 4 years ago
Hey Lenora,
resetController
is a route hook, so it should definitely go in app/routes/bands/band/songs.js
. We created that file manually in the Nested routes chapter, page 60:
Ahh! I must've missed this step. Thanks Balint!
Just tried it. It works!
I put the resetcontroller logic in
app/controller/bands/band/songs.js
but it doesn't work. The example is stating it goes inapp/routes/bands/band/songs.js
but I don't believe we created abands/bands/songs.js
file in routes.I'm using version 20200120.