diff --git a/app/views/users/_user_message_blog.html.erb b/app/views/users/_user_message_blog.html.erb index 25534695b..2016d4af5 100644 --- a/app/views/users/_user_message_blog.html.erb +++ b/app/views/users/_user_message_blog.html.erb @@ -13,7 +13,7 @@ <% user_id = User.find(BlogComment.find(ma.blog_commont_id).blog.author_id) %> <% blog_id = BlogComment.find(ma.blog_commont_id).root_id %> <%= link_to message_content(ma.content), user_blog_blog_comment_path(:user_id => user_id, :blog_id => ma.blog_id, :id => blog_id), - :class => "#{ma.viewed == 0 ? "newsBlack" : "newsGrey"}", :target => '_blank' %> + :class => "#{ma.viewed == false ? "newsBlack" : "newsGrey"}", :target => '_blank' %>