cms/app-client/app/helpers/array-index.js
author ymh <ymh.work@gmail.com>
Mon, 17 Oct 2016 18:07:53 +0200
changeset 346 4cd0f8c936ed
parent 258 12c694392e8e
permissions -rw-r--r--
upgrade build and delivery process for integration

import Ember from 'ember';

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

export default Ember.Helper.helper(arrayIndex);