---
Koha/REST/V1.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Koha/REST/V1.pm b/Koha/REST/V1.pm
index b692a38..b8f2bd6 100644
--- a/Koha/REST/V1.pm
+++ b/Koha/REST/V1.pm
@@ -25,6 +25,8 @@ use Koha::Patrons;
sub startup {
my $self = shift;
+ $self->helper(syspref => sub { C4::Context->preference($_[1]) });
+
my $route = $self->routes->under->to(
cb => sub {
my $c = shift;
--
2.7.4
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/