In my html file I have:
<script type="text/x-handlebars">
//some code
{{outlet}}
</script>
Which has been working as my layout for all templates, but this doesn't have any controller made by me so Ember generates one.
My question is how to access the controller for this handlebar? (the
generated application controller
)
PS: After looking for a bit I tried making a file "application.js" on the controllers folder but it doesn't seem this is it.
Aucun commentaire:
Enregistrer un commentaire