cms/app-client/app/helpers/array-index.js
author ymh <ymh.work@gmail.com>
Tue, 04 Oct 2016 13:53:56 +0200
changeset 320 0fce13da58af
parent 258 12c694392e8e
permissions -rw-r--r--
filter geostat by area + tests

import Ember from 'ember';

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

export default Ember.Helper.helper(arrayIndex);