Sha256: 80a73ecd8b9fe456fd5194cd3b4cbde62522eea4ff5416134ea88aa9546dcfe2
Contents?: true
Size: 320 Bytes
Versions: 2
Compression:
Stored size: 320 Bytes
Contents
module Elabs class ActsController < ElabsApplicationController ALLOWED_ORDER_FROM = %w[created_at].freeze DEFAULT_ORDER = { created_at: :desc }.freeze # GET /acts # GET /acts.json def index @acts = scope_request(Act).page(params[:page]).per(self.class::MAX_ITEMS_PER_PAGE) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
elabs-2.0.0 | app/controllers/elabs/acts_controller.rb |
elabs-2.0.0.pre | app/controllers/elabs/acts_controller.rb |