The class of the ActiveRecord should be specified via [[modelClass]], which must implement ActiveRecordInterface.
By default, the following actions are supported:
- index: list of models
- view: return the details of a model
- create: create a new model
- update: update an existing model
- delete: delete an existing model
- options: return the allowed HTTP methods
You may disable some of these actions by overriding ActiveController::actions and unsetting the corresponding actions.
To add a new action, either override ActiveController::actions by appending a new action class or write a new action method.
Make sure you also override ActiveController::verbs to properly declare what HTTP methods are allowed by the new action.
You should usually override ActiveController::checkAccess to check whether the current user has the privilege to perform
the specified action against the specified model.