Fixed image source url.
This commit is contained in:
parent
133f67cddc
commit
2ca1f5eb52
1 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ class Authorization < ApplicationModel
|
||||||
if hash['info']['image']
|
if hash['info']['image']
|
||||||
user = User.find( auth.user_id )
|
user = User.find( auth.user_id )
|
||||||
user.update_attributes(
|
user.update_attributes(
|
||||||
:image => hash['info']['image']
|
:image_source => hash['info']['image']
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -40,7 +40,7 @@ class Authorization < ApplicationModel
|
||||||
if user then
|
if user then
|
||||||
user.update_attributes(
|
user.update_attributes(
|
||||||
# :username => hash['username'],
|
# :username => hash['username'],
|
||||||
:image => hash['info']['image']
|
:image_source => hash['info']['image']
|
||||||
)
|
)
|
||||||
|
|
||||||
# fillup empty attributes
|
# fillup empty attributes
|
||||||
|
|
Loading…
Reference in a new issue