cms/app-client/app/helpers/array-index.js
author ymh <ymh.work@gmail.com>
Mon, 16 Oct 2017 15:18:53 +0200
changeset 551 e70004b11b3b
parent 258 12c694392e8e
permissions -rw-r--r--
Remove viaf link on name. correct #0027355

import Ember from 'ember';

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

export default Ember.Helper.helper(arrayIndex);