Skip to content

Commit

Permalink
allow you to set github even if it's not in the hash
Browse files Browse the repository at this point in the history
  • Loading branch information
gerad committed Aug 14, 2010
1 parent 501adfc commit aabaea0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nodeko.coffee
Expand Up @@ -285,6 +285,7 @@ put '/people/:id', ->
delete attributes.password

attributes.link = '' unless /^https?:\/\/.+\./.test attributes.link
person.github ||= ''
person.update attributes
person.save (error, resp) =>
@redirectToTeam person
Expand Down

0 comments on commit aabaea0

Please sign in to comment.