cms/app-client/app/helpers/array-index.js
author ymh <ymh.work@gmail.com>
Fri, 15 Sep 2017 11:26:43 +0200
changeset 546 178f9add0784
parent 258 12c694392e8e
permissions -rw-r--r--
Correct bug #28104 : affichage des titres longs dans le transcript

import Ember from 'ember';

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

export default Ember.Helper.helper(arrayIndex);