emberjs/ember.js — pull request #3730 by tricknotes (2013-11-12 16:29:40+00:00)
Title: [BUGFIX] Correct type of variable initialization

`allowedKeys` should be a string value because it will be passed from template.

Such as:
``` handlebars
click me
```

If it is treated as an array, [`allowedKeys.indexOf`][] doesn't work on old IE.
Because `Array#indexOf` is not defined in old IE.

[`allowedKeys.indexOf`]: https://github.com/emberjs/ember.js/blob/a51806a2cdc2fc93f8ed3fe6d0d53ab229c455d3/packages/ember-routing/lib/helpers/action.js#L48