Method: Leaflet::Collection#current_page

Defined in:
lib/leaflet/collection.rb

#current_pageObject



62
63
64
65
66
# File 'lib/leaflet/collection.rb', line 62

def current_page
  Positify.it(max: total_pages) {
    @current_page ||= 1
  }
end