emberjs/ember.js — pull request #3837 by bcardarella (2013-12-02 06:49:04+00:00)
Title: [FEATURE property action]: Actions can fire property functions

A common pattern I find myself doing is a toggle action to call
toggleProperty to switch a boolean value. It would be nice to not have
to recreate this pattern over and over. Now you can do:

```handlebars
Show
```

This works on any `xProperty` function on the controller. For example,
`incrementProperty`

```handlebars

```

It can even work on custom functions defined on the controller that
conform to `xProperty` naming:

```javascript
controller = Ember.Controller.extend({
doubleProperty: function(property) {
this.set(property, (this.get(property) || 0) * 2);
}
});
```

```handlebars
Cheat
```