组织首页的加载更多动态重复加载
This commit is contained in:
parent
6f12ba883d
commit
1a042fd822
|
@ -98,7 +98,7 @@ class OrganizationsController < ApplicationController
|
|||
@org_activities = OrgActivity.where("container_type = 'Course' and org_act_type = 'Poll' and container_id in (#{course_ids.join(',')})").order('updated_at desc').page(params[:page] || 1).per(10)
|
||||
end
|
||||
end
|
||||
@page = params[:page]
|
||||
@page = params[:page] || 1
|
||||
respond_to do |format|
|
||||
format.html
|
||||
format.js
|
||||
|
|
Loading…
Reference in New Issue