/**
 * Module dependencies.
 */
var _ = require('@sailshq/lodash');

/**
 * Sails.prototype.getActions()
 *
 * Return a shallow clone of the loaded actions dictionary.
 *
 * @returns {dictionary} A shallow clone of sails._actions
 *
 * @api public
 */
module.exports = function getActions() {

  return _.clone(this._actions);

};

/**
 * Module dependencies.
 */

var _ = require('@sailshq/lodash');

/**
 * Sails.prototype.getActions()
 *
 * Return a shallow clone of the loaded actions dictionary.
 *
 * @returns {Dictionary} A shallow clone of all actions, indexed by their unique identifier.
 *
 * @this {SailsApp}
 * ----------------------------------------------------------------------------------------
 *
 * Usage:
 *
 * ```
 * sails.getActions();
 * // =>
 * // {
 * //   'duck/quack': {...},
 * //   // ...
 * // }
 * ```
 */
module.exports = function getActions() {

  return _.clone(this._actions);

};

Add usage example for getActions()
Add usage example for getActions()
