cms/app-client/app/helpers/array-index.js
author ymh <ymh.work@gmail.com>
Mon, 14 Nov 2016 15:34:33 +0100
changeset 416 6e6b7363f45f
parent 258 12c694392e8e
permissions -rw-r--r--
Simplify notice component and add permalink

import Ember from 'ember';

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

export default Ember.Helper.helper(arrayIndex);