local-cli/apentle-generator/templates/app/bootstrap/addActions.js
function addActions(actions) {
  if (typeof actions === 'string') {
    add(actions);
  } else if (Array.isArray(actions)) {
    actions.forEach(addActions);
  } else if (typeof actions === 'object') {
    for (var type in actions) {
      add(type, actions[type]);
    }
  }
}
function addActions(actions) {
  if (typeof actions === 'string') {
    add(actions);
  } else if (Array.isArray(actions)) {
    actions.forEach(addActions);
  } else if (typeof actions === 'object') {
    for (var type in actions) {
      add(type, actions[type]);
    }
  }
}
addActions - add actions util

@param  {array|object} actions   actions to add
@returns {undefined}