搜索报错

dev_forum
daiao 5 years ago
parent 6bc633b3b6
commit 200520c908

@ -161,7 +161,7 @@ class SubjectsController < ApplicationController
end
@shixuns = @shixuns.reorder("created_at desc")
@shixuns_count = @shixuns.count
@shixuns_count = @shixuns.size
## 分页参数
page = params[:page] || 1

Loading…
Cancel
Save