Commit 49b8a45b50dccf0937f30026d5a55206e39ec502

Authored by Victor Costa
1 parent f062bc1a

api: fix plugins endpoints

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/noosfero/api/helpers.rb
... ... @@ -228,7 +228,7 @@
228 228 end
229 229  
230 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 232 end
233 233  
234 234 private
... ...