geared_pagination
geared_pagination copied to clipboard
API-only applications
Right now, this gem can only be used out of the box in full applications. In order to use it in API-only applications (or in API controllers), GearedPagination::Controller
needs to be included manually inside the controller, or an initializer.
This PR fixes it by including it manually to both ActionController::Base
and ActionController::API
in the engine initialization process.
:+1: