Deactivesupport
This commit is contained in:
parent
9229dce33e
commit
4536cc2800
|
@ -1,7 +1,10 @@
|
|||
# frozen_string_literal: true
|
||||
module Kaminari
|
||||
module ConfigurationMethods #:nodoc:
|
||||
extend ActiveSupport::Concern
|
||||
def self.included(base)
|
||||
base.extend ClassMethods
|
||||
end
|
||||
|
||||
module ClassMethods #:nodoc:
|
||||
# Overrides the default +per_page+ value per model
|
||||
# class Article < ActiveRecord::Base
|
||||
|
|
|
@ -1,10 +1,8 @@
|
|||
# frozen_string_literal: true
|
||||
module Kaminari
|
||||
module FakeGem
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
module ClassMethods
|
||||
def inherited(kls)
|
||||
def self.included(base)
|
||||
def base.inherited(kls)
|
||||
super
|
||||
def kls.fake_gem_defined_method; end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue