Commit 775b03ecd0ad8edbdeae6c03b380b9334a29f3d3

Authored by Victor Costa
2 parents 1a2307cb 49b8a45b

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 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
... ...