```ruby
module PagerApi
  class Railtie < Rails::Railtie
    config.after_initialize do
      require 'pager_api/hooks'
    end
  end
end

```

Fix loading pagination helpers for rails 5
user
```ruby
module PagerApi
  class Railtie < Rails::Railtie
    initializer "pager_api.configure_pagination_helpers" do
      require 'pager_api/hooks'
    end
  end
end
```
assistant