You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
grimpirate
added
the
bug
Verified issues on the current code behavior or pull requests that will fix them
label
Nov 19, 2020
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 readprotected $modelName = 'App\Models\PhotosModel';
as when following along with this example the resultant behavior is unexpected.The text was updated successfully, but these errors were encountered: