emberjs/ember.js — pull request #1639 by ef4 (2013-01-01 14:12:00+00:00)
Title: Make controllers handle events defined on their prototypes

The following very simple use of `action` doesn't work:

​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​

```javascript
App = Ember.Application.create();

App.ApplicationController = Ember.Controller.extend({
myAction: function(){ alert("it worked")}
});
```

(Runnable version here: http://jsfiddle.net/AMLf4/)

The event fails to fire because `ControllerMixin.send` uses `hasOwnProperty` to determine if the controller can handle the event. In this case (and most cases), the property is defined higher up the prototype chain.