diff --git a/app/assets/javascripts/app/controllers/user_zoom.js.coffee b/app/assets/javascripts/app/controllers/user_zoom.js.coffee index 60132a904..bc5a5befa 100644 --- a/app/assets/javascripts/app/controllers/user_zoom.js.coffee +++ b/app/assets/javascripts/app/controllers/user_zoom.js.coffee @@ -16,7 +16,7 @@ class App.UserZoom extends App.Controller url: @url() id: @user_id class: "" - iconClass: "user" + iconClass: @user.icon() if @user diff --git a/app/assets/javascripts/app/models/user.js.coffee b/app/assets/javascripts/app/models/user.js.coffee index 99b392957..fbe8c056a 100644 --- a/app/assets/javascripts/app/models/user.js.coffee +++ b/app/assets/javascripts/app/models/user.js.coffee @@ -33,6 +33,9 @@ class App.User extends App.Model uiUrl: -> '#user/zoom/' + @id + icon: (user) -> + "user icon" + @_fillUp: (data) -> # set socal media links