From 2ca1f5eb527d01c2ed1cf6d4bad1b97806a7cfa0 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 19 Nov 2013 12:59:13 +0100 Subject: [PATCH] Fixed image source url. --- app/models/authorization.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/authorization.rb b/app/models/authorization.rb index e1abebba3..b0ae22971 100644 --- a/app/models/authorization.rb +++ b/app/models/authorization.rb @@ -29,7 +29,7 @@ class Authorization < ApplicationModel if hash['info']['image'] user = User.find( auth.user_id ) user.update_attributes( - :image => hash['info']['image'] + :image_source => hash['info']['image'] ) end end @@ -40,7 +40,7 @@ class Authorization < ApplicationModel if user then user.update_attributes( # :username => hash['username'], - :image => hash['info']['image'] + :image_source => hash['info']['image'] ) # fillup empty attributes