Merge branch 'weixin_guange' into develop

This commit is contained in:
yuanke 2016-09-09 09:05:59 +08:00
commit d6ae177885
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ module Mobile
else
case f
when :img_url
"/images/#{url_to_avatar(u)}"+"?t="+Time.now.strftime('%Y-%m-%d')
"/images/#{url_to_avatar(u)}"
when :gender
u.nil? || u.user_extensions.nil? || u.user_extensions.gender.nil? ? 0 : u.user_extensions.gender
when :work_unit