aboutsummaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
Diffstat (limited to 'app/models')
-rw-r--r--app/models/user.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index 9e5c184..d45aa8b 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -9,7 +9,7 @@ class User < ApplicationRecord
include UsersHelper
def avatar_url
- attributes[:avatar_url].present? ?
- attributes[:avatar_url] : '' # default_user_avatar_url
+ attributes['avatar_url'].present? ?
+ attributes['avatar_url'] : '' # default_user_avatar_url
end
end