Bug 19196: Make plugin available to endpoints
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 29 Aug 2017 20:02:13 +0000 (17:02 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 9 Oct 2017 19:15:51 +0000 (16:15 -0300)
commitc84cab61b73574ae451fe93a09057252bcb830e4
tree7deeee39c5eed179b6ca8da1a374d91282850a85
parent26f3ca8d88486e5948c400f0d19d8c5bdf392d2e
Bug 19196: Make plugin available to endpoints

This patch just initializes the plugin on the main controller class so
it is available for all endpoints to use.

As it is not used, in order to test just restart plack and make sure the
endpoints work (run the t/db_dependent/api/v1 tests).

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Lari Taskula <lari.taskula@jns.fi>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/REST/V1.pm