From 10c37b4693e06e528862b386bb64546461898885 Mon Sep 17 00:00:00 2001 From: yanxd Date: Tue, 17 Dec 2013 09:30:24 +0800 Subject: [PATCH] zz --- app/views/memos/show.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/memos/show.html.erb b/app/views/memos/show.html.erb index a59f1053e..5e2c83790 100644 --- a/app/views/memos/show.html.erb +++ b/app/views/memos/show.html.erb @@ -45,10 +45,10 @@

<%= l(:label_reply_plural) %> (<%= @replies.nil? ? 0 : @replies.size %>)

- <% reply_count = @current_count.to_i %> + <% pages_count = (params['page'].to_i - 1) * 10 %> <% @replies.each do |reply| %>
"> -

<%= reply_count += 1 %>楼 :

+

<%= pages_count += 1 %>楼 :

<%= link_to( image_tag('comment.png'),