mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-30 14:22:07 +03:00
feac9682d0
- Refactor to handle deprecations including removal of all Views, ArrayControllers, and ItemControllers.
10 lines
197 B
JavaScript
10 lines
197 B
JavaScript
import Ember from 'ember';
|
|
|
|
export function readPath(params/*, hash*/) {
|
|
var [obj, path] = params;
|
|
|
|
return Ember.get(obj, path);
|
|
}
|
|
|
|
export default Ember.HTMLBars.makeBoundHelper(readPath);
|