项目访问数一致问题

This commit is contained in:
huang 2016-09-27 09:13:40 +08:00
parent 35bf351d5d
commit e7344b6540
2 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,8 @@
<% end %>
</div>
</div>
<%# 更新访问数,刷新的时候更新访问次数 %>
<% update_visiti_count @project %>
<div class="sy_class_id fl"><p><%= l(:label_project_ivite_code)%><br /><span class="sy_corange"><%= (User.current.member_of?(@project) || User.current.admin?) ? @project.invite_code : "******" %></span></p></div>
<div class="sy_class_info fl ml15">
<div class="sy_class_titbox clear">

View File

@ -49,8 +49,7 @@
<div id="content">
<%= render :partial => 'layouts/base_project_top' %>
<div id="LSide" class="fl">
<%# 更新访问数,刷新的时候更新访问次数 %>
<% update_visiti_count @project %>
<!--邀请加入-->
<div class="subNavBoxProject">
<div id="project_memu_list">