cms/app-client/app/helpers/array-index.js
author ymh <ymh.work@gmail.com>
Mon, 06 Feb 2017 13:23:39 +0100
changeset 498 265992e5b379
parent 258 12c694392e8e
permissions -rw-r--r--
Add description to documents interface and indexation. Prepare #0025746

import Ember from 'ember';

export function arrayIndex(params/*, hash*/) {
  return params[0][params[1]];
}

export default Ember.Helper.helper(arrayIndex);