cms/app-client/app/helpers/array-index.js
author ymh <ymh.work@gmail.com>
Tue, 17 Jan 2017 18:57:25 +0100
changeset 488 0161e028afb7
parent 258 12c694392e8e
permissions -rw-r--r--
Correct bug on display of notices on permalinks. Correct bug #0025750

import Ember from 'ember';

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

export default Ember.Helper.helper(arrayIndex);