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
There may be instances where it is desirable to be able to configure a custom view. Currently this is only possible using an override of the render method in JsonApiListener. Would be better via config.
I.e. edit JsonApiListener
// Use the Crud component's config instead of listener config$viewClass = $controller->Crud->getConfig('viewClass', 'CrudJsonApi.JsonApi');
$controller->viewBuilder()->setClassName($viewClass);
The text was updated successfully, but these errors were encountered:
There may be instances where it is desirable to be able to configure a custom view. Currently this is only possible using an override of the render method in JsonApiListener. Would be better via config.
I.e. edit JsonApiListener
The text was updated successfully, but these errors were encountered: