cms/app-client/app/helpers/array-index.js
author ymh <ymh.work@gmail.com>
Tue, 18 Oct 2016 18:42:13 +0200
changeset 367 e0fb97c1e9c6
parent 258 12c694392e8e
permissions -rw-r--r--
correct build script + rpm hook scripts

import Ember from 'ember';

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

export default Ember.Helper.helper(arrayIndex);