消息404问题

This commit is contained in:
huang 2016-09-09 17:22:38 +08:00
parent 502bd9f451
commit 121537bfcb
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<% if ma.class == MemoMessage %>
<% if ma.memo_type == "Memo" %>
<% if ma.memo_type == "Memo" && ma.memo %>
<ul class="homepageNewsList fl">
<li class="homepageNewsPortrait fl">
<a href="javascript:void(0);"><%=link_to image_tag(url_to_avatar(ma.memo.author), :width => "30", :height => "30"), user_path(ma.memo.author), :target => '_blank' %></a>