From 60d243cfc210ff47e6bdd83b6aec416d2805d374 Mon Sep 17 00:00:00 2001 From: Domizio Demichelis Date: Mon, 2 Sep 2019 21:28:17 +0200 Subject: [PATCH] small doc improvement [ci skip] --- docs/extras.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/extras.md b/docs/extras.md index a09063d4a..86ad04f9e 100644 --- a/docs/extras.md +++ b/docs/extras.md @@ -61,7 +61,7 @@ If you use any of them you should load the [pagy.js](https://github.com/ddnexus/ ### Add the oj gem -Although it's not a requirement, if you are on ruby 2.0+ (not jruby), you should add the `gem 'oj'` to your Gemfile. When available, Pagy will automatically use it to boost the performance. +Although it's not a requirement, if you are on ruby 2.0+ (not jruby), and if you use any `*_nav_js` helper, you should add the `gem 'oj'` to your Gemfile. When available, Pagy will automatically use it to boost the performance. (Notice: It does nothing for normal, non-js helpers.) ### In rails apps