Module Cms::Behaviors::Pagination
In: lib/cms/behaviors/pagination.rb

Methods

included  

Classes and Modules

Module Cms::Behaviors::Pagination::ClassMethods
Class Cms::Behaviors::Pagination::Collection
Class Cms::Behaviors::Pagination::InvalidPage

Public Class methods

[Source]

    # File lib/cms/behaviors/pagination.rb, line 5
 5:       def self.included(model_class)
 6:         model_class.extend(ClassMethods)
 7:         class << model_class
 8:           define_method(:default_per_page) { 15 }
 9:         end
10:       end

[Validate]