Koha-clms/Koha/REST
Tomas Cohen Arazi cd3c5fcce9
Bug 36495: Use render_resource_not_found() helper everywhere
This patch makes the existing controllers use the new helpers for (most) 404 situations.
The remaining ones are subject to discussion.

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

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

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
..
Plugin Bug 36495: Add render_resource_not_found() and render_resource_deleted() helpers 2024-04-26 18:06:13 +02:00
V1 Bug 36495: Use render_resource_not_found() helper everywhere 2024-04-26 18:06:13 +02:00
V1.pm Bug 36495: Add render_resource_not_found() and render_resource_deleted() helpers 2024-04-26 18:06:13 +02:00