I build a model like the example "How can I organize my Models?" in the Readme.md, but how can I access the model in controller? If I call this.getModel(...) I get the error message "TypeError: Object # has no method 'getModel'".
Just a few minutes after my question I found the solution. I had used this.getModel('User') but instead I have to use app.getModel('User'). Maybe add the model access handling to your example?
Hi,
I build a model like the example "How can I organize my Models?" in the Readme.md, but how can I access the model in controller? If I call this.getModel(...) I get the error message "TypeError: Object # has no method 'getModel'".