diff --git a/app/views/users/_course_message.html.erb b/app/views/users/_course_message.html.erb index 05caa1f91..2c3c34b07 100644 --- a/app/views/users/_course_message.html.erb +++ b/app/views/users/_course_message.html.erb @@ -11,14 +11,14 @@ <%= link_to activity.try(:author).try(:realname), user_path(activity.author_id), :class => "newsBlue mr15" %> <% end %> TO - <%= link_to activity.course.name.to_s+" | 课程讨论区", course_path(activity.course), :class => "newsBlue ml15 mr5", :style=>"word-break:break-all"%> - <%#= link_to activity.course.name.to_s+"(课程讨论区)", course_path(activity.course), :class => "newsBlue ml15 mr5", :style=>"word-break:break-all"%> + <%= link_to activity.board.course.name.to_s+" | 课程讨论区", course_path(activity.board.course), :class => "newsBlue ml15 mr5", :style=>"word-break:break-all"%> + <%#= link_to activity.course.name.to_s+"(课程讨论区)", course_path(activity.board.course), :class => "newsBlue ml15 mr5", :style=>"word-break:break-all"%>