Commit 775b03ecd0ad8edbdeae6c03b380b9334a29f3d3
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Merge branch 'api' into production
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/noosfero/api/helpers.rb
@@ -228,7 +228,7 @@ | @@ -228,7 +228,7 @@ | ||
228 | end | 228 | end |
229 | 229 | ||
230 | def filter_disabled_plugins_endpoints | 230 | def filter_disabled_plugins_endpoints |
231 | - not_found! if Noosfero::API::API.endpoint_unavailable?(self, !@environment) | 231 | + not_found! if Noosfero::API::API.endpoint_unavailable?(self, @environment) |
232 | end | 232 | end |
233 | 233 | ||
234 | private | 234 | private |