竞赛添加访问统计

This commit is contained in:
huang 2017-02-24 19:42:23 +08:00
parent c33ab7735f
commit b510994365
1 changed files with 3 additions and 0 deletions

View File

@ -77,8 +77,11 @@
</li>
</ul>
</div><!--sy_class_leftnav end-->
<% update_visiti_count @contest %>
<div class="fontGrey5 mt10 ml20">访问计数 <%= @contest.visits.to_i %> 自2016年5月</div>
</div><!--sy_class_l end-->
<%= render_flash_messages %>
<div class="fl">
<%= yield %>