Closed aleksandrmelnyk closed 11 years ago
It was fixed in stable branch and released.
On Tue, Apr 9, 2013 at 10:38 AM, Oleksandr Melnyk notifications@github.com wrote:
Am using non-eval controllers mode. Controller action code looks like: IndexController.prototype.workroom = function(c) { this.roles = 'ADMIN_ROLE'; c.render(); } And view code use 'roles' parameter: { ... roles: '#{roles}' ... } And sometimes I got error: "roles is undefined". Most often this happens when i started application with process.env.NODE_ENV == 'production' and before started with development. Did anybody face this before?
Might that be connected anyhow with cache?
Reply to this email directly or view it on GitHub: https://github.com/1602/compound/issues/506
Yup, I have just updated compund module and didn't experience the issue.
Thank you much!
To what version you've updated?
On Tue, Apr 9, 2013 at 1:12 PM, Oleksandr Melnyk notifications@github.comwrote:
Yup, I have just updated compund module and didn't experience the issue.
Thank you much!
— Reply to this email directly or view it on GitHubhttps://github.com/1602/compound/issues/506#issuecomment-16102066 .
Thanks, Anatoliy Chakkaev
1.1.6
Yep, that's fine. It's current stable. Or you can use unstable 1.1.7-x if you need some new stuff i'm working on.
On Tue, Apr 9, 2013 at 1:23 PM, Oleksandr Melnyk notifications@github.comwrote:
1.1.6
— Reply to this email directly or view it on GitHubhttps://github.com/1602/compound/issues/506#issuecomment-16102596 .
Thanks, Anatoliy Chakkaev
Thank you Anatoliy, appreciate.
Am using non-eval controllers mode. Controller action code looks like: IndexController.prototype.workroom = function(c) { this.roles = 'ADMIN_ROLE'; c.render(); }
And view code use 'roles' parameter: { ... roles: '#{roles}' ... }
And sometimes I got error: "roles is undefined". Most often this happens when i started application with process.env.NODE_ENV == 'production' and before started with development. Did anybody face this before? Might that be connected anyhow with cache?