修改消息每页的显示个数

This commit is contained in:
huang 2015-08-28 09:55:23 +08:00
parent 1b9da8d963
commit 9709692a08
2 changed files with 2 additions and 1 deletions

View File

@ -176,7 +176,7 @@ class UsersController < ApplicationController
render_404
return
end
@message_alls = paginateHelper @message_alls,15
@message_alls = paginateHelper @message_alls,25
respond_to do |format|
format.html{render :layout=>'new_base_user'}
end

View File

@ -425,6 +425,7 @@ module UsersHelper
return str.html_safe
end
# journal.details 记录每个动作的新旧值
def get_issue_des_update(journal)
arr = details_to_strings(journal.details,true)
arr << journal.notes