cms/app-client/app/helpers/array-index.js
author ymh <ymh.work@gmail.com>
Thu, 24 Nov 2016 14:39:50 +0100
changeset 445 b1e5ad6b2a29
parent 258 12c694392e8e
permissions -rw-r--r--
Display created date instead of issued

import Ember from 'ember';

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

export default Ember.Helper.helper(arrayIndex);