balderdashy/sails-docs — pull request #51 by Voronchuk (2013-10-11 16:32:54+00:00)
Title: Definition of custom view scripts

I was able to found that only by searching the sources:
https://github.com/balderdashy/sails/blob/master/lib/hooks/views/index.js

/**
* res.view([specifiedPath|locals], [locals])
*
* @param {String} specifiedPath
*	-> path to the view file to load (minus the file extension)
*	relative to the app's `views` directory
* @param {Object} locals
*	-> view locals (data that is accessible in the view template)
* @param {Function} cb_view(err)
*	-> called when the view rendering is complete (response is already sent, or in the process)
*	(probably should be @api private)
* @api public
*/