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

Bug: Documentation Example Leads to Bug #3914

Closed
grimpirate opened this issue Nov 19, 2020 · 1 comment
Closed

Bug: Documentation Example Leads to Bug #3914

grimpirate opened this issue Nov 19, 2020 · 1 comment
Labels
bug Verified issues on the current code behavior or pull requests that will fix them

Comments

@grimpirate
Copy link
Contributor

In the CodeIgniter 4 documentation for extending the ResourceController class the line protected $modelName = 'App\Models\Photos'; generates a bug wherein POST requests are never made. Presumably this happens because of a silent namespace collision. Suggest revising this line to read protected $modelName = 'App\Models\PhotosModel'; as when following along with this example the resultant behavior is unexpected.

@grimpirate grimpirate added the bug Verified issues on the current code behavior or pull requests that will fix them label Nov 19, 2020
@grimpirate
Copy link
Contributor Author

Cannot confirm this actually resolved the issue. Closing this as it was opened prematurely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Verified issues on the current code behavior or pull requests that will fix them
Projects
None yet
Development

No branches or pull requests

1 participant