소스 검색

add agent appy function

abiao 4 년 전
부모
커밋
2b979f0255
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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