Module: ResourcesController::Kaminari

Defined in:
app/concerns/resources_controller/kaminari.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object


3
4
5
# File 'app/concerns/resources_controller/kaminari.rb', line 3

def self.included(base)
  base.helper_method :paginate?
end

Instance Method Details

#paginate?Boolean


7
8
9
# File 'app/concerns/resources_controller/kaminari.rb', line 7

def paginate?
  true
end