Created
September 15, 2017 04:16
-
-
Save jbardnz/0cc8604d44d09c326e9214de2534d3e8 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
func (c AuthController) AddUser() revel.Result { | |
user := models.User{} | |
c.Txn.First(&user) | |
return c.RenderJSON(user) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment