cms/app-client/app/helpers/array-index.js
author ymh <ymh.work@gmail.com>
Tue, 13 Dec 2016 23:30:50 +0100
changeset 472 8b1e24e0ef70
parent 258 12c694392e8e
permissions -rw-r--r--
Remove wallisian fron nouvelle caledonie as it is already in wallis et futuna (m3.10)

import Ember from 'ember';

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

export default Ember.Helper.helper(arrayIndex);