Module: WillPaginate::PerPage::Inheritance

Defined in:
lib/will_paginate/per_page.rb

Instance Method Summary collapse

Instance Method Details

#inherited(subclass) ⇒ Object



16
17
18
19
# File 'lib/will_paginate/per_page.rb', line 16

def inherited(subclass)
  super
  subclass.per_page = self.per_page
end