cms/app-client/app/helpers/array-index.js
author ymh <ymh.work@gmail.com>
Mon, 06 Feb 2017 15:22:39 +0100
changeset 500 4f507ba2bb4c
parent 258 12c694392e8e
permissions -rw-r--r--
add alternativeTitle. Prepare #0025746

import Ember from 'ember';

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

export default Ember.Helper.helper(arrayIndex);