Validates presence of User#name
The 2 reasons are : - creation of user fail if name is empty : in after_save, it tries to create a namespace with namespace.name = user.name and namespece validates presence Namespace#name - in the web app links to team members are broken with empty User#name because they are of the form <a href'...'> user.name </a>
This commit is contained in:
parent
273c0d2aa3
commit
63d9373aa8
3 changed files with 2 additions and 3 deletions
|
@ -75,7 +75,7 @@ POST /users
|
|||
Parameters:
|
||||
+ `email` (required) - Email
|
||||
+ `password` (required) - Password
|
||||
+ `name` - Name
|
||||
+ `name` (required) - Name
|
||||
+ `skype` - Skype ID
|
||||
+ `linkedin` - Linkedin
|
||||
+ `twitter` - Twitter account
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue