Created
October 22, 2014 07:21
-
-
Save robksawyer/80aee4fdf2703a749193 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return res.view(referringView, {result: false, errors: error_object}); | |
//I'm trying to get the errors in the view via: | |
//<% sails.log(errors); %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Figured it out: Had to use
res.locals.errors
.