Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle non conventional controller names #7

Merged
merged 1 commit into from
Mar 22, 2021
Merged

Handle non conventional controller names #7

merged 1 commit into from
Mar 22, 2021

Conversation

pabloelcolombiano
Copy link
Contributor

@pabloelcolombiano pabloelcolombiano commented Mar 10, 2021

The name of the model is not settable and taken as the name of the controller performing the pagination.

This is a problem when performing the pagination on a controller that does not follow the CakePHP conventions, e.g. ArticlesIndexController.

The present contribution proposes to have the name of the model settable and tests accordingly. The documentation has been updated accordingly.

@bcrowe bcrowe merged commit 66a6843 into bcrowe:master Mar 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants