From 77ffadf166b9bc02b8e66949b5157ebf8375ec35 Mon Sep 17 00:00:00 2001 From: hellekin Date: Tue, 6 Oct 2020 18:45:11 +0200 Subject: User Kaminari gem for pagination Since we're dealing with lots of resources, we need a way to handle pagination. This gem seems to be the new kid on the block and doing things right, including pagination by default an I18n support. Let's see. Kaminari: https://github.com/kaminari/kaminari --- Gemfile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Gemfile') diff --git a/Gemfile b/Gemfile index 2d5228b..8a44eed 100644 --- a/Gemfile +++ b/Gemfile @@ -28,6 +28,8 @@ gem 'jbuilder', '~> 2.7' gem 'bitfields' # Use Discourse API gem 'discourse_api' +# User pagination +gem 'kaminari' # Enforce stable UUIDs for models gem 'uuid_parameter', '~> 0.2.5' -- cgit v1.2.3