Sha256: 72237d5cf4ade09c4bf4b78a268b26399f1ca3abbe79351cc9acfd5177e0f4fb
Contents?: true
Size: 275 Bytes
Versions: 3
Compression:
Stored size: 275 Bytes
Contents
module ResourcesController module 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 end
Version data entries
3 entries across 3 versions & 1 rubygems