diff options
-rw-r--r-- | app/models/user.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index 1523577..dc4c2cf 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -22,6 +22,10 @@ class User end end + def avatar_url + attributes['avatar_url'] + end + def cache_key(*args) "#{self.id}:#{args.join(":")}:#{sync_at.to_s}" end |