Add jsonApiResponse method in the controller #222
digitlimit
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
There is need to also add
jsonApiResponsewhich will handle requests going to/apiI noticed there is no way to do this if I want to use the same action for both web and api
This can quickly be fixed by modifying the
orisleiva/laravel-actions/src/Decorators/ControllerDecorator.phpline 73-77Beta Was this translation helpful? Give feedback.
All reactions