cms/app-client/app/helpers/array-index.js
author ymh <ymh.work@gmail.com>
Sun, 27 Nov 2016 16:31:37 +0100
changeset 448 4077a72f0fb6
parent 258 12c694392e8e
permissions -rw-r--r--
add minimum height for author and language

import Ember from 'ember';

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

export default Ember.Helper.helper(arrayIndex);