A route /numbers
has the JavaScript:
// app/routes/numbers.js
// ...
numbers: [1,2,3,4,5],
// ...
and in the route's template:
<!-- app/templates/numbers.hbs -->
<p></p>
When I view the /numbers
route, nothing is rendered inside the helper. Why not?
Aucun commentaire:
Enregistrer un commentaire