cms/app-client/app/helpers/array-index.js
author ymh <ymh.work@gmail.com>
Fri, 18 Nov 2016 14:48:49 +0100
changeset 428 76a47f714766
parent 258 12c694392e8e
permissions -rw-r--r--
add memcached configuration option, small corrections for the build process and add installDrupal.sh file to the release

import Ember from 'ember';

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

export default Ember.Helper.helper(arrayIndex);