diff --git a/app/helpers/get-property.js b/app/helpers/get-property.js new file mode 100644 index 0000000..6b2308d --- /dev/null +++ b/app/helpers/get-property.js @@ -0,0 +1,8 @@ +import Ember from 'ember'; + +// This will be unneccesary when ember 2.0 lands +export function getProperty(params) { + return Ember.get(params[0], params[1]); +} + +export default Ember.HTMLBars.makeBoundHelper(getProperty); diff --git a/app/pods/application/template.hbs b/app/pods/application/template.hbs index 245a185..729e634 100644 --- a/app/pods/application/template.hbs +++ b/app/pods/application/template.hbs @@ -4,18 +4,21 @@ {{/link-to}} {{#if session.isAuthenticated}}