cms/app-client/app/helpers/array-index.js
author ymh <ymh.work@gmail.com>
Thu, 06 Oct 2016 11:14:32 +0200
changeset 322 084aae09edf4
parent 258 12c694392e8e
permissions -rw-r--r--
correction on importRDF documents + evolution theme controller

import Ember from 'ember';

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

export default Ember.Helper.helper(arrayIndex);