#

## :icon-gear:&nbsp;&nbsp;Initializer

---

Set your global options/defaults, or configure a few special features by editing the sample file below.

Ensure it loads by saving it into the Rails `config/initializers` directory or require it.

[!file pagy.rb](/gem/config/pagy.rb)

:::code source="/gem/config/pagy.rb" title="pagy.rb" language="ruby":::
