Login required for access
In order to watch this lesson, you'll need to login to the website.
Sails Helper Methods Refactoring
Fullstack Social iOS NodeJS REST
To help reduce code repetition in our projects, Sails comes with helper methods that allow you to extract logic inside of one location. Using this concept, I'll walk you through how to take our file uploading code and put it in a single file. Calling this code from multiple files is really easy and we'll see how to retrieve our upload file urls at the very end.

Comments (4)
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
HELP & SUPPORT