Skip to content
Snippets Groups Projects
Commit 319f87f9 authored by ilya's avatar ilya
Browse files

trying setting profile photos

parent 37819be9
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,8 @@ def create
:password => "#{username+backer_info[backer_number]['pin'].to_s}",
:person => Person.new(
:email => "#{username}@#{username}.joindiaspora.com",
:profile => Profile.new( :first_name => backer_info[backer_number]['given_name'], :last_name => backer_info[backer_number]['family_name'] ),
:profile => Profile.new( :first_name => backer_info[backer_number]['given_name'], :last_name => backer_info[backer_number]['family_name']
, :image_url => "http://#{username}.joindiaspora.com/images/users/#{username}.jpg"),
:url=> "http://#{username}.joindiaspora.com/")
)
user.person.save
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment