0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/client/app/helpers/read-path.js

10 lines
197 B
JavaScript
Raw Normal View History

import Ember from 'ember';
export function readPath(params/*, hash*/) {
var [obj, path] = params;
return Ember.get(obj, path);
}
export default Ember.HTMLBars.makeBoundHelper(readPath);