Emberjs1.0.0-RC3: undefined when calling and storing controller method in view variable
问题 In this jsfiddle, inside the didInsertElement hook , I am trying to call a controller method called eventJSON , which is defined in CalendarsController, I am storing or passing that call to the controller action in a variable called calendarJSON that i declared inside the didInsertElement hook in the CalendarsView. But when I log the result, it gives undefined. Also if I put a debugger inside the didInsertElement hook and inspect the variable in the console, it returns undefined. I want to