Sha256: 9ba6a4ea3f8074473b27949e0da7ceba8a480fe9cd15d4c03675f96dc353f92d
Contents?: true
Size: 240 Bytes
Versions: 24
Compression:
Stored size: 240 Bytes
Contents
module ResourcesController::Pagination def self.included(base) base.helper_method :paginate? end def paginate? true end private def load_collection @collection = load_collection_scope.page(params[:page]) end end
Version data entries
24 entries across 24 versions & 1 rubygems