Spaces:
Build error
Build error
File size: 330 Bytes
def1299 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
class ApplicationController < SessionsController
private
def pagination_dict(collection)
{
current_page: collection.current_page,
next_page: collection.next_page,
prev_page: collection.previous_page,
total_pages: collection.total_pages,
total_count: collection.total_entries
}
end
end
|