cms/app-client/app/helpers/array-index.js
author Chloe Laisne <chloe.laisne@gmail.com>
Fri, 14 Oct 2016 19:49:28 +0200
changeset 333 400719e1e9a8
parent 258 12c694392e8e
permissions -rw-r--r--
Add share notice button + Remove external notice

import Ember from 'ember';

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

export default Ember.Helper.helper(arrayIndex);