cms/app-client/app/helpers/array-index.js
author ymh <ymh.work@gmail.com>
Tue, 18 Oct 2016 18:11:23 +0200
changeset 366 228ec0935f97
parent 258 12c694392e8e
permissions -rw-r--r--
bump version to 0.0.3

import Ember from 'ember';

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

export default Ember.Helper.helper(arrayIndex);