cms/app-client/app/helpers/array-index.js
author Chloe Laisne <chloe.laisne@gmail.com>
Thu, 25 Aug 2016 18:44:50 +0200
changeset 269 9659e91242e1
parent 258 12c694392e8e
permissions -rw-r--r--
Add subjects to notice + Background color two notice type + Remove empty notice fields

import Ember from 'ember';

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

export default Ember.Helper.helper(arrayIndex);