From 49b8a45b50dccf0937f30026d5a55206e39ec502 Mon Sep 17 00:00:00 2001 From: Victor Costa Date: Thu, 9 Jul 2015 11:04:23 -0300 Subject: [PATCH] api: fix plugins endpoints --- lib/noosfero/api/helpers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/noosfero/api/helpers.rb b/lib/noosfero/api/helpers.rb index 0c893bf..d7bb8e6 100644 --- a/lib/noosfero/api/helpers.rb +++ b/lib/noosfero/api/helpers.rb @@ -228,7 +228,7 @@ end def filter_disabled_plugins_endpoints - not_found! if Noosfero::API::API.endpoint_unavailable?(self, !@environment) + not_found! if Noosfero::API::API.endpoint_unavailable?(self, @environment) end private -- libgit2 0.21.2