cms/app-client/app/helpers/array-index.js
author ymh <ymh.work@gmail.com>
Tue, 08 Nov 2016 15:48:01 +0100
changeset 404 0a5eef6ad2fe
parent 258 12c694392e8e
permissions -rw-r--r--
correction, change colors for discourse categories, add loding spinner

import Ember from 'ember';

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

export default Ember.Helper.helper(arrayIndex);