diff --git a/app/helpers/get-property.js b/app/helpers/get-property.js index 6b2308d..4ba442b 100644 --- a/app/helpers/get-property.js +++ b/app/helpers/get-property.js @@ -1,8 +1,7 @@ import Ember from 'ember'; -// This will be unneccesary when ember 2.0 lands -export function getProperty(params) { - return Ember.get(params[0], params[1]); -} +const { get, Helper: { helper } } = Ember; -export default Ember.HTMLBars.makeBoundHelper(getProperty); +export default helper(function(params) { + return get(params[0], params[1]); +});