diff --git a/app/views/boards/_course_show.html.erb b/app/views/boards/_course_show.html.erb index ca33b7516..35e066d45 100644 --- a/app/views/boards/_course_show.html.erb +++ b/app/views/boards/_course_show.html.erb @@ -37,7 +37,7 @@
- 共有 <%=link_to @topics.count %> 个贴子 + 共有 <%=link_to @topic_count,:controller => 'boards',:action => 'index' %> 个贴子 <%= link_to l(:label_message_new), new_board_message_path(@board), diff --git a/app/views/boards/_project_show.html.erb b/app/views/boards/_project_show.html.erb index ef1afd27e..8cd46c35b 100644 --- a/app/views/boards/_project_show.html.erb +++ b/app/views/boards/_project_show.html.erb @@ -43,7 +43,7 @@
- 共有 <%= link_to @topics.count %> 个贴子 + 共有 <%= link_to @topic_count,:controller => 'boards',:action => 'index' %> 个贴子 <% if @project.enabled_modules.where("name = 'boards'").count > 0 %> <%= link_to l(:label_message_new),