cms/app-client/app/helpers/array-index.js
author ymh <ymh.work@gmail.com>
Wed, 28 Sep 2016 17:24:02 +0200
changeset 306 3fccf43160a7
parent 258 12c694392e8e
permissions -rw-r--r--
Some more changes linked to the change of api organization + some jshint error cleaning

import Ember from 'ember';

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

export default Ember.Helper.helper(arrayIndex);