Selaa lähdekoodia

add agent appy function

abiao 4 vuotta sitten
vanhempi
commit
2b979f0255
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      app/models/agent_apply.rb

+ 1 - 1
app/models/agent_apply.rb

@@ -10,7 +10,7 @@ class AgentApply < ActiveRecord::Base
   def com_user
     linkUser = WxUser.where("id = ?", self.com_user_id).first
     if !linkUser.blank?
-        return linkUser.NickName
+        return linkUser.nickname
     else
       return "--"
     end