Skip to content

Instantly share code, notes, and snippets.

@symn
symn / Image.js
Last active March 19, 2017 00:04
Retrieve a single random record of a Sails.js model
/**
* Image.js
*
* @description :: TODO: You might write a short summary of how this model works and what it represents here.
* @docs :: http://sailsjs.org/#!documentation/models
*/
module.exports = {
attributes: {