cms/app-client/app/helpers/array-index.js
author ymh <ymh.work@gmail.com>
Tue, 22 Nov 2016 18:41:04 +0100
changeset 434 58df2c256e00
parent 258 12c694392e8e
permissions -rw-r--r--
remove uncesessary attribute

import Ember from 'ember';

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

export default Ember.Helper.helper(arrayIndex);