Created
December 29, 2013 04:34
-
-
Save sjzabel/8167480 to your computer and use it in GitHub Desktop.
JSON shape of returned flash object
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
{ | |
flash:{ | |
msg: 'You do not have permission to that user' | |
,flashType: 'warn' | |
} | |
... | |
} | |
// or | |
{ | |
flashes:[ | |
{ | |
msg: 'The user you requested does not exist' | |
,flashType: 'info' | |
}, | |
... | |
] | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment