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