dimanche 19 avril 2015

Ember how to access a "generated application controller"?

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