Skip to content

Commit

Permalink
Add info about useModel().
Browse files Browse the repository at this point in the history
Closes #679
  • Loading branch information
ADmad committed Oct 2, 2024
1 parent 06ea78a commit f4a900c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,12 @@ the ``className`` configuration key for an action, and Crud will use that one in

:doc:`Learn more about custom action classes </actions/custom>`.

Model
=====

The actions will use the default model for the controller as per CakePHP's conventions,
but you can also specify a different model to use using ``CrudComponent::useModel()``.

Listeners
=========

Expand Down

0 comments on commit f4a900c

Please sign in to comment.