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
-
There is need to also add
jsonApiResponse
which will handle requests going to/api
I 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.php
line 73-77Beta Was this translation helpful? Give feedback.
All reactions