Koha-clms/Koha/REST/Plugin
Tomas Cohen Arazi fc7b6d9eb5
Bug 36495: Add render_resource_not_found() and render_resource_deleted() helpers
This patch introduces two helpers to be used in controllers.

To test:
1. Apply this patch
2. Run:
   $ ktd --shell
  k$ prove t/db_dependent/api/v1/responses.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-04-26 18:06:13 +02:00
..
Auth Bug 32178: (QA follow-up) Correct modules import 2022-11-18 12:04:32 -03:00
Exceptions.pm Bug 36421: Make sure pre-controller errors are correctly logged 2024-04-04 15:24:29 +02:00
Objects.pm Bug 30645: Consider multiple instances of extended_attributes in query params 2024-04-26 08:52:47 +02:00
Pagination.pm Bug 33080: Allow pagination to be built from stashed values 2023-03-10 12:04:06 -03:00
PluginRoutes.pm Bug 22678: Replace a few unneeded Koha::Logger calls 2022-10-24 14:37:03 -03:00
Query.pm Bug 30645: Consider multiple instances of extended_attributes in query params 2024-04-26 08:52:47 +02:00
Responses.pm Bug 36495: Add render_resource_not_found() and render_resource_deleted() helpers 2024-04-26 18:06:13 +02:00