cms/app-client/app/helpers/array-index.js
author ymh <ymh.work@gmail.com>
Thu, 24 Nov 2016 19:08:36 +0100
changeset 446 2a93eb9f38f5
parent 258 12c694392e8e
permissions -rw-r--r--
pb m3.22 - set correct filter when clicking on subject and language in notice

import Ember from 'ember';

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

export default Ember.Helper.helper(arrayIndex);