Sha256: c62a4d8e1f5814ce78918792ed84ef8e45883b58def108b4f3f3d362ab3bbc4d
Contents?: true
Size: 241 Bytes
Versions: 2
Compression:
Stored size: 241 Bytes
Contents
class Cas::ActivitiesController < Cas::ApplicationController def index @activities = Cas::Activity .where(site_id: current_user.sites.map(&:id)) .order('created_at DESC') .page(params[:page]) .per(25) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cas-cms-1.0.0.alpha2 | app/controllers/cas/activities_controller.rb |
cas-cms-1.0.0.alpha1 | app/controllers/cas/activities_controller.rb |